<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-510541637695525564</id><updated>2012-01-26T09:52:56.795-08:00</updated><category term='Aggregate Functions'/><category term='Form Assistant'/><category term='Windows XP'/><category term='MS CRM Templates'/><category term='Deployment Service'/><category term='Plugins'/><category term='MS CRM 5 Features'/><category term='Email'/><category term='MS CRM Accelerators'/><category term='ISV'/><category term='Pivot Tables'/><category term='Integration'/><category term='MS CRM Entity Schema'/><category term='FetchXml'/><category term='Azure'/><category term='CRM Online 2011'/><category term='Customizations'/><category term='Visual Studio 6'/><category term='Videos'/><category term='FileSync'/><category term='Crm 2011'/><category term='Sharepoint 2010'/><category term='Workflows'/><category term='Windows Service'/><category term='MS CRM'/><category term='Java Script'/><category term='Social Networking'/><category term='s'/><category term='.NET String Methods'/><category term='Dynamic Entity'/><category term='Associated Records'/><category term='Adapters'/><category term='MS CRM 4 Roll Ups'/><category term='Child Pipeline'/><category term='MS CRM Global Variable and Functions'/><category term='Crm 2011 Beta - Ribbons'/><category term='BizTalk Adapter'/><category term='Reports'/><category term='WampServer'/><category term='Tabs'/><category term='Callouts'/><category term='All Elements'/><category term='Plugin Constructor'/><category term='Tracing'/><category term='IIS'/><category term='xRM'/><category term='Crm 2011 Beta'/><category term='SDK'/><category term='MS CRM 2011 RC'/><category term='VPC'/><category term='Lead Capture'/><category term='Crm 2011 Beta Installation'/><category term='Database'/><category term='Internet Connectivity'/><category term='Sharepoint'/><category term='SSRS'/><category term='Save Record'/><category term='Sharing Data Between Plug-ins'/><category term='Debug'/><category term='Hide Button'/><category term='.NET'/><title type='text'>Microsoft Dynamics CRM Developer's Guide</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default?start-index=101&amp;max-results=100'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>120</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-156454595675845952</id><published>2011-02-04T16:56:00.000-08:00</published><updated>2011-02-04T16:56:01.054-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Form Assistant'/><title type='text'>MS CRM 2011  - Form Assistant</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;As we know that form assistant has been removed from MS CRM 2011 release. But it is available for very few special usages (such as Case and Service Activity).&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-156454595675845952?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/156454595675845952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=156454595675845952' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/156454595675845952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/156454595675845952'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2011/02/ms-crm-2011-form-assistant.html' title='MS CRM 2011  - Form Assistant'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-3680420215830414346</id><published>2011-02-04T16:51:00.000-08:00</published><updated>2011-02-04T16:51:42.828-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM 2011 RC'/><title type='text'>MS CRM 2011  - Email Templates for Custom Entity not supported.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="color: #1f497d;"&gt;&lt;span style="font-family: Calibri; font-size: large;"&gt;Adding the templates for the custom entity is not yet supported in the current 2011 release.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-3680420215830414346?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/3680420215830414346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=3680420215830414346' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3680420215830414346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3680420215830414346'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2011/02/ms-crm-2011-email-templates-for-custom.html' title='MS CRM 2011  - Email Templates for Custom Entity not supported.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-5161877228895739650</id><published>2011-01-18T23:37:00.000-08:00</published><updated>2011-01-18T23:37:16.559-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Adapters'/><category scheme='http://www.blogger.com/atom/ns#' term='BizTalk Adapter'/><title type='text'>No BizTalk Adapter for CRM 2011</title><content type='html'>&lt;span style="font-family: Verdana, sans-serif;"&gt; &lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;Recently, I got to know that there will be No Biztalk adapter for 2011.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;The reason behind this is BizTalk Adapter for CRM 4.0 is being deprecated in favor of enabling the OOB BizTalk WCF adapter to work with CRM 2011's WCF endpoint for On-premised and&amp;nbsp; IFD deployments.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-5161877228895739650?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/5161877228895739650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=5161877228895739650' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5161877228895739650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5161877228895739650'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2011/01/no-biztalk-adapter-for-crm-2011.html' title='No BizTalk Adapter for CRM 2011'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-3377109090514892458</id><published>2011-01-18T23:29:00.000-08:00</published><updated>2011-01-18T23:29:08.188-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Crm 2011'/><title type='text'>Dynamics CRM 2011 server is 64-bit only.</title><content type='html'>&lt;span style="font-family: Verdana, sans-serif;"&gt;Just wanted to share this:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;Dynamics CRM 2011 server is 64-bit only.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;CRM 2011 client for Outlook is available in both 32 bit and 64 bit versions.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-3377109090514892458?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/3377109090514892458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=3377109090514892458' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3377109090514892458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3377109090514892458'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2011/01/dynamics-crm-2011-server-is-64-bit-only.html' title='Dynamics CRM 2011 server is 64-bit only.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-4332501002785910659</id><published>2011-01-14T09:31:00.000-08:00</published><updated>2011-01-14T10:12:20.906-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CRM Online 2011'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows XP'/><title type='text'>Windows XP SP3 supports CRM Online 2011 client for Outlook</title><content type='html'>&lt;span style="font-family: Verdana, sans-serif;"&gt;You can have CRM Online 2011 Client for Outlook installed on Windows XP. But you should have SP3 installed on your system.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-4332501002785910659?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/4332501002785910659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=4332501002785910659' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/4332501002785910659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/4332501002785910659'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2011/01/xp-sp3-supports-crm-online-2011-client.html' title='Windows XP SP3 supports CRM Online 2011 client for Outlook'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-1387144565325039031</id><published>2011-01-11T04:42:00.000-08:00</published><updated>2011-01-11T04:42:52.324-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='All Elements'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>Loop through all elements on a CRM Form</title><content type='html'>&lt;span style="font-family: Verdana, sans-serif;"&gt;Sometime we require to set all attributes on a form to disabled or checking which attribute has been changed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;To achieve this, you need to loop through each attribute of the CRM form. &lt;strong&gt;Below is the code snippet :&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;var iLen = crmForm.all.length;&lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;for (i = 0; i &amp;lt; iLen; i++)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; o = crmForm.all[i];&lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; switch (o.tagName)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "INPUT":&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "SELECT":&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "TEXTAREA":&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "IMG":&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "IFRAME":&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (o.id != "leadqualitycode")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o.disabled = true;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; default:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;The above code will set all attributes to disabled.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-1387144565325039031?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/1387144565325039031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=1387144565325039031' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1387144565325039031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1387144565325039031'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2011/01/loop-through-all-elements-on-crm-form.html' title='Loop through all elements on a CRM Form'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-3381992299744743435</id><published>2011-01-11T04:33:00.000-08:00</published><updated>2011-01-11T04:33:27.023-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Save Record'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>Prevent CRM from saving a record.</title><content type='html'>&lt;span style="font-family: Verdana, sans-serif;"&gt;The OnSave event is fired when a user presses the Save or Save and Close button on the form. The event is fired whether the data in the form has been modified or not.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;Validating data is a common reason to use the OnSave event. The OnSave event can cancel the save operation before it is sent back to the server. To cancel the save operation, the script should return false as shown in the following code.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;strong&gt;event.returnValue = false;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;The SDK helps in this situation. Look at the following page for more information. MSDN SDK: &lt;a href="http://msdn.microsoft.com/en-us/library/aa681938.aspx"&gt;OnSave Event&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-3381992299744743435?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/3381992299744743435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=3381992299744743435' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3381992299744743435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3381992299744743435'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2011/01/prevent-crm-from-saving-record.html' title='Prevent CRM from saving a record.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-5392521624002592558</id><published>2011-01-10T20:29:00.000-08:00</published><updated>2011-01-10T20:29:28.973-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet Connectivity'/><title type='text'>Quickest way to detect if internet connection is available.</title><content type='html'>&lt;span style="font-family: Verdana, sans-serif;"&gt;Today I came across of this article on Microsoft site:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/system.net.networkinformation.ping.aspx"&gt;Ping Class:&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #1f497d;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/system.net.networkinformation.ping.aspx"&gt;http://msdn.microsoft.com/en-us/library/system.net.networkinformation.ping.aspx&lt;/a&gt;&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #1f497d;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;Very useful class to Allows an application to determine whether a remote computer is accessible over the network.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-5392521624002592558?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/5392521624002592558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=5392521624002592558' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5392521624002592558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5392521624002592558'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2011/01/quickest-way-to-detect-if-internet.html' title='Quickest way to detect if internet connection is available.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-1795850805959024304</id><published>2011-01-06T04:50:00.000-08:00</published><updated>2011-01-06T04:50:41.735-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hide Button'/><category scheme='http://www.blogger.com/atom/ns#' term='ISV'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>Hide ISV Button.</title><content type='html'>&lt;span style="font-family: Verdana, sans-serif;"&gt;I needed to hide a button that I added to my form using the ISV.config file. IN ISV file you can specify the button to be display in create / update mode. You can have only one &lt;toolbar&gt;tag per entity.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;strong&gt;&lt;u&gt;Here is the requirement:&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;I have to display 5 ISV button in the form. Out of which 4 to be displayed in both Create and Update mode. But there is one button which has to be displayed only in Update Mode. If you use below XML line in ISV.config file&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;strong&gt;&lt;toolbar validforcreate="1" validforupdate="1"&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;It will display all button in both mode. But there is no provision where i can specify some of the button in create and update mode.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;So I've to hide the button using Client side scripting on Load of the form.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;strong&gt;Below is the fucntion which hides the button:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;// HIDE ISV Button&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;function HideISVButton(strButtonToolTip)&lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; var tag = document.getElementsByTagName("LI");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; for(x = 0; x &amp;lt; tag.length; x++)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(tag[x].getAttribute("title") == strButtonToolTip)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; button = document.getElementById(tag[x].getAttribute("id"));&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(button != null)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; button.style.display = "none";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = tag.length;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;strong&gt;// Call the function to hide the button:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;HideISVButton("Click this button to Line Activate");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;The above code loops through all objects on the webpage with a tag name of "LI" looking for one that has a title of ‘Click this button to Line Activate’ which is specified in the ISV.Config file. Once the code finds the correct ToolTip of a button, it gets hidden.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-1795850805959024304?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/1795850805959024304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=1795850805959024304' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1795850805959024304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1795850805959024304'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2011/01/hide-isv-button.html' title='Hide ISV Button.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-4542768847710404373</id><published>2011-01-06T04:14:00.000-08:00</published><updated>2011-01-06T04:14:43.489-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM 2011 RC'/><category scheme='http://www.blogger.com/atom/ns#' term='Lead Capture'/><title type='text'>Online Demonstration of Microsoft Dynamics CRM 2011 Lead Capture</title><content type='html'>&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Today I found a very good link for &lt;a href="http://blog.summitgroupsoftware.com/wp-content/uploads/2010/12/Untitled.mp4"&gt;Online Demonstration of Microsoft Dynamics CRM 2011 Lead Capture&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Please click &lt;a href="http://blog.summitgroupsoftware.com/wp-content/uploads/2010/12/Untitled.mp4"&gt;here&lt;/a&gt; to watch the video.&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-4542768847710404373?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/4542768847710404373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=4542768847710404373' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/4542768847710404373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/4542768847710404373'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2011/01/online-demonstration-of-microsoft.html' title='Online Demonstration of Microsoft Dynamics CRM 2011 Lead Capture'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-8907937870939657758</id><published>2010-12-14T21:01:00.000-08:00</published><updated>2010-12-14T21:11:29.255-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM 2011 RC'/><title type='text'>Microsoft Dynamics CRM 2011 Release Candidate (RC) Announcement</title><content type='html'>&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;The Microsoft Dynamics CRM 2011 Release Candidate (RC) is now available for download from the Microsoft Download Center.&amp;nbsp; As with the Microsoft Dynamics CRM 2011 Beta, the Release Candidate is available for anyone to download, and will be available until the RTM release.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;This release represents the combined efforts and feedback from customers, partners and Microsoft teams working on the Microsoft Dynamics CRM 2011 Beta so thank you for all of you involved in this process. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;strong&gt;&lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c3f82c6f-c123-4e80-b9b2-ee422a16b91d"&gt;Microsoft Dynamics CRM 2011 Server Release Candidate 05.00.9688.34&lt;/a&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=22dc423a-7194-491e-a169-6ace16bfdd36"&gt;Microsoft Dynamics CRM 2011 for Microsoft Office Outlook 05.00.9688.32&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=db44c564-2338-407e-980a-c9c83ad37729"&gt;Microsoft Dynamics CRM 2011 Language Pack (41 Languages)&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=64a09b75-8376-4b9d-aea3-8a83a1837c4d"&gt;Microsoft Dynamics CRM 2011 Report Authoring Extension&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a995f6ad-0099-42fd-9b22-cf7b3d40a2bf"&gt;Microsoft Dynamics CRM 2011 E-mail Router&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=23c0f351-8694-4d92-9ddf-34a949aec6a7"&gt;Microsoft Dynamics CRM 2011 List Component for Microsoft SharePoint Server 2010&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Enjoy RC !!!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-8907937870939657758?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/8907937870939657758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=8907937870939657758' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8907937870939657758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8907937870939657758'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/12/microsoft-dynamics-crm-2011-release.html' title='Microsoft Dynamics CRM 2011 Release Candidate (RC) Announcement'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-4689379385061095657</id><published>2010-10-20T07:06:00.000-07:00</published><updated>2010-10-20T07:09:53.075-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Pivot Tables'/><title type='text'>To view and refresh data, Microsoft Dynamics CRM for Outlook must be installed</title><content type='html'>&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;When trying to export data from CRM to a dynamic pivot table you receive the following message: “To view and refresh data, Microsoft Dynamics CRM for Outlook must be installed”, although the CRM Outlook client has already been installed and CRM is added to the Trusted Sites.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;strong&gt;To resolve this issue follow the steps below.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;1. Click on the cell which contains the message “To view and…” &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Trebuchet MS;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;2. Click on Connections [from DATA Tab]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;It will open a Connection Window.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;3. Click on Refresh [from Connection Window]&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Now, the data will appear in the data sheet.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;Happy import / export !!!!!&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-4689379385061095657?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/4689379385061095657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=4689379385061095657' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/4689379385061095657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/4689379385061095657'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/10/to-view-and-refresh-data-microsoft.html' title='To view and refresh data, Microsoft Dynamics CRM for Outlook must be installed'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-3251234111554627242</id><published>2010-10-20T03:29:00.000-07:00</published><updated>2010-10-20T03:31:18.625-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Crm 2011 Beta'/><category scheme='http://www.blogger.com/atom/ns#' term='Plugins'/><title type='text'>MS CRM 2011 Beta - CallerOrigin in Plugins is no more !!!</title><content type='html'>&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;CallerOrigin has been removed in CRM 2011 Beta. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;According to Experts, since the CRM 4 implementation was neither extensible nor reliable\secure. The recommendation is to not rely on caller origin when you extend business logic in the server (since it is easy for a client to spoof this data)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;If you absolutely need it and can guarantee \ do not care about spoofing, create a custom field and pass additional origin info from the client.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Please note that we have a new property isOfflinePlayback in PluginContext to identify if a plugin was triggered as part of the Offline Playback.&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Please have a look at the IExecutionContext. It has below properties:&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;1. IsExecutingOffline&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;2. IsOfflinePlayback&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;For more information you can see in the CRM 2011 Beta Sdk. Topic = "IExecutionContext Members "&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Hope it helps.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-3251234111554627242?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/3251234111554627242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=3251234111554627242' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3251234111554627242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3251234111554627242'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/10/ms-crm-2011-beta-callerorigin-in.html' title='MS CRM 2011 Beta - CallerOrigin in Plugins is no more !!!'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-6218994325451093995</id><published>2010-10-20T03:18:00.000-07:00</published><updated>2010-10-20T03:19:00.505-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Crm 2011 Beta'/><category scheme='http://www.blogger.com/atom/ns#' term='Tabs'/><title type='text'>MS CRM 2011 Beta -  Number of Tabs = 100</title><content type='html'>&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;In MS CRM 4.0, there is a limit of 8 tabs for every entity.&amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;According to CRM 2011 SDK, "Each form can include up to 100 tabs. Tabs are a vertical stack separating the body of the form. Tabs may be expanded or collapsed. Navigation links below the form selector provide access to tabs. The body of the form will scroll to display the selected tab."&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-6218994325451093995?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/6218994325451093995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=6218994325451093995' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/6218994325451093995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/6218994325451093995'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/10/ms-crm-2011-beta-number-of-tabs-100.html' title='MS CRM 2011 Beta -  Number of Tabs = 100'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-2980552197966376598</id><published>2010-09-21T21:58:00.000-07:00</published><updated>2010-09-21T21:58:16.352-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Crm 2011 Beta'/><title type='text'>MS CRM 2011 Beta - You have already imported and upgraded this organization and cannot perform this operation again.</title><content type='html'>&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;This is new in MS CRM 2011. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;You will receive the above error in MS CRM 2011 when you try to import an Organization of MS CRM 4.0.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;This is because in CRM 2011, you cannot import the same CRM 4 org more than once into a CRM 2011 deployment. The Organization GUID will not change. This is by design.&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Hope this helps.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-2980552197966376598?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/2980552197966376598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=2980552197966376598' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2980552197966376598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2980552197966376598'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/09/ms-crm-2011-beta-you-have-already.html' title='MS CRM 2011 Beta - You have already imported and upgraded this organization and cannot perform this operation again.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-1587296781770860536</id><published>2010-09-21T21:38:00.000-07:00</published><updated>2010-09-21T21:39:23.538-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Crm 2011 Beta'/><title type='text'>MS CRM 2011 Beta - DeletionStateCode - No longer available.</title><content type='html'>&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Finally it's time to say good bye "DeletionStateCode" attribute. The attribute has been removed from all entities.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Now, it is hard delete. If a record is deleted, it would be removed from the entity table. &lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Happy purging !!!!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-1587296781770860536?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/1587296781770860536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=1587296781770860536' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1587296781770860536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1587296781770860536'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/09/ms-crm-2011-beta-deletionstatecode-no.html' title='MS CRM 2011 Beta - DeletionStateCode - No longer available.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-2582694870952516212</id><published>2010-09-16T07:19:00.000-07:00</published><updated>2010-09-16T07:19:01.433-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Crm 2011 Beta - Ribbons'/><title type='text'>MS CRM 2011 Beta - Ribbon Example [Grid / Form / Subgrid] Example.</title><content type='html'>&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;I've started playing with Ribbons in MS CRM 2011 Beta.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Attached the code which creates below:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;1. Custom Tabs&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;2. Custom Multiple Groups&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;3. Multiple Buttons in each group.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;4. Pass values from Button click to Javascript.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Please download the code from&amp;nbsp;the below &lt;/span&gt;&lt;a href="http://uploading.com/files/37d8f425/customizations_WorkingCopy_WithGrid_AndForm.zip/"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;link&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;a href="http://uploading.com/files/37d8f425/customizations_WorkingCopy_WithGrid_AndForm.zip/"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;http://uploading.com/files/37d8f425/customizations_WorkingCopy_WithGrid_AndForm.zip/&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Hope this will help. Please let me know if you help.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-2582694870952516212?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/2582694870952516212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=2582694870952516212' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2582694870952516212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2582694870952516212'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/09/ms-crm-2011-beta-ribbon-example-grid.html' title='MS CRM 2011 Beta - Ribbon Example [Grid / Form / Subgrid] Example.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-7970377405928193447</id><published>2010-09-15T04:06:00.000-07:00</published><updated>2010-09-15T04:08:27.414-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Crm 2011 Beta'/><title type='text'>MS CRM 2011 Beta - Product Keys</title><content type='html'>&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Here are the Product Keys for MS CRM 2011 Beta.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;strong&gt;The following product keys are available for this release:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;•Microsoft Dynamics CRM Workgroup (5 CAL limit): &lt;br /&gt;&amp;nbsp; FF2JM-QX9PG-HXT8M-MMHXG-4MF32&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;•Microsoft Dynamics CRM Server (no CAL limit): &lt;br /&gt;&amp;nbsp; 4FDTK-3HYV2-D9CCJ-4MF9Q-QJ32X&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;strong&gt;Important&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;•Although the application may display a 90-day trial period, these trial product keys will expire after 270 days.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;•Microsoft Dynamics CRM Professional edition is no longer available with Microsoft Dynamics CRM 2011.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-7970377405928193447?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/7970377405928193447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=7970377405928193447' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7970377405928193447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7970377405928193447'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/09/ms-crm-2011-beta-product-keys.html' title='MS CRM 2011 Beta - Product Keys'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-6269540159939102043</id><published>2010-09-14T21:29:00.000-07:00</published><updated>2010-09-14T21:30:37.175-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Crm 2011 Beta'/><title type='text'>MS CRM 2011 Beta - Error adding user on On-Premise</title><content type='html'>&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;You may get the following error when trying to add a user to an on-premise organisaion in MS CRM 2011 Beta.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;strong&gt;Errors: &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;strong&gt;1. &lt;/strong&gt;You do not have the necessary permissions to change the domain logon name for this user. The following user was not added: ....&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;strong&gt;2. &lt;/strong&gt;An error has occurred&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;strong&gt;As of now the resolution is an IISRESET on the CRM Server.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;1.) Open the CMD window (Run as Administrator) on the CRM Server&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;2.) type iisreset, then Enter.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Hope this helps.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-6269540159939102043?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/6269540159939102043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=6269540159939102043' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/6269540159939102043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/6269540159939102043'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/09/ms-crm-2011-beta-error-adding-user-on.html' title='MS CRM 2011 Beta - Error adding user on On-Premise'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-7859655528525333814</id><published>2010-09-14T12:31:00.000-07:00</published><updated>2010-09-14T12:35:34.138-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Crm 2011 Beta'/><title type='text'>MS CRM 2011 Beta - Invalid User Authorization</title><content type='html'>&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;You might see below [Invalid User Authorization] error when trying to access / connect to Online CRM 2011.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_pXTiQIAxyVU/TI_MrQk3XyI/AAAAAAAAAGk/bbocsrrVkAo/s1600/InvalidUser.png" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;img border="0" qx="true" src="http://2.bp.blogspot.com/_pXTiQIAxyVU/TI_MrQk3XyI/AAAAAAAAAGk/bbocsrrVkAo/s320/InvalidUser.png" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;The work around is, sign out of the currenyly logged in Windows Live ID from all other browser sessions. Once you signout, try to access your Online CRM, now it will prompt for Sign in details. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;As of now Online CRM 2011 can't handle this. &lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Hope this will be resolved in RTM by Microsoft.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Hope this helps.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-7859655528525333814?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/7859655528525333814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=7859655528525333814' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7859655528525333814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7859655528525333814'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/09/ms-crm-2011-beta-invalid-user.html' title='MS CRM 2011 Beta - Invalid User Authorization'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_pXTiQIAxyVU/TI_MrQk3XyI/AAAAAAAAAGk/bbocsrrVkAo/s72-c/InvalidUser.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-452916538162670381</id><published>2010-09-13T21:19:00.000-07:00</published><updated>2010-11-30T01:20:48.923-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Crm 2011 Beta'/><title type='text'>MS CRM 2011 Beta - The NetworkCredentials provided were unable to create a Kerberos credential.</title><content type='html'>&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;You might get the below error when trying to create a token for MS CRM 2011 Beta organisaion :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;The application terminated with an error.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;The token provider cannot get tokens for target 'http://192.168.1.99/XRMServices&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;/2011/Discovery.svc'.&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;The NetworkCredentials provided were unable to create a Kerberos credential, see inner exception for details.&lt;/span&gt; &lt;br /&gt;&lt;span style="font-family: Trebuchet MS;"&gt;&lt;/span&gt;&amp;nbsp; &lt;br /&gt;&lt;span style="font-family: Trebuchet MS;"&gt;&lt;strong&gt;This is quite possible &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family: Trebuchet MS;"&gt;when you CRM is on Domain A, and you are trying to create a token from Domain B.&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;it's not going to work in beta currently. I believe there is an open bug for this. Hope it will get resolve in RTM.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Trebuchet MS;"&gt;See more information on the same:&lt;br /&gt;&lt;a href="http://social.microsoft.com/Forums/en-US/crm2011beta/thread/b3d52d52-ea07-4b04-9883-a4bbec9a39e4"&gt;&lt;span name="subject"&gt;Troubleshooting authentication problems with the Beta releases&lt;/span&gt;&lt;img class="icon rss" src="http://i4.social.microsoft.com/Forums/resources/images/trans.gif?cver=1864%0d%0a" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: Trebuchet MS;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-452916538162670381?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/452916538162670381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=452916538162670381' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/452916538162670381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/452916538162670381'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/09/ms-crm-2011-beta-networkcredentials.html' title='MS CRM 2011 Beta - The NetworkCredentials provided were unable to create a Kerberos credential.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-9115894853006261465</id><published>2010-09-13T01:44:00.000-07:00</published><updated>2010-09-13T21:20:21.448-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Crm 2011 Beta Installation'/><title type='text'>Install MS CRM 2011 Beta on Windows 2008 SP2 or Windows 2008 R2?</title><content type='html'>&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;I think everybody is consfuse when choosing the Operating System. &lt;strong&gt;So here are the facts:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;1. You can choose either Windows 2008 SP2 or Windows 2008 R2. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;2. But When usingWindows 2008 R2 you need to consider especially this one:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Import organization fails with Microsoft Dynamics CRM 4.0 organization database when running on Windows S&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;erver 2008 R2.&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;To work around this issue, install Microsoft Dynamics CRM 2011 Server on a computer that is running the original release of Windows Server 2008, and then try the import organization operation again.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-9115894853006261465?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/9115894853006261465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=9115894853006261465' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/9115894853006261465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/9115894853006261465'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/09/install-ms-crm-2011-beta-on-windows.html' title='Install MS CRM 2011 Beta on Windows 2008 SP2 or Windows 2008 R2?'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-3809208220575670944</id><published>2010-09-09T21:52:00.000-07:00</published><updated>2010-09-09T21:52:46.728-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Crm 2011 Beta'/><title type='text'>Say Hello to the World of Dynamics CRM 2011 Beta version</title><content type='html'>&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;Today, the Microsoft Dynamics CRM team has reached a key milestone as it releases the beta of Microsoft Dynamics CRM 2011, for both cloud-based and on-premises deployments. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;Available for download and testing in eight languages (English, French, German, Hebrew, Italian, Japanese, Spanish and Chinese) and 36 markets, this release marks the first global public beta for Microsoft Dynamics CRM Online. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;Additionally, beta for Microsoft Dynamics CRM 2011 on-premises is available in 40 markets in eight languages.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;&lt;strong&gt;&lt;u&gt;Please see the below links for:&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;Microsoft Dynamics CRM 2011 Beta - On-Premise Download &lt;/span&gt;&lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0c7dcc45-9d41-4e2e-8126-895517b4274c&amp;amp;displayLang=en"&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;link&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;Microsoft Dynamics CRM 2011 Beta - Online and On-Premise Download &lt;/span&gt;&lt;a href="http://crmdynamo.com/2010/09/microsoft-dynamics-crms-next-generation-is-here-crm-2011-beta-online-and-on-premise-available-worldwide-today/"&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;link&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;Hope you enjoy the links.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-3809208220575670944?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/3809208220575670944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=3809208220575670944' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3809208220575670944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3809208220575670944'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/09/say-hello-to-world-of-dynamics-crm-2011.html' title='Say Hello to the World of Dynamics CRM 2011 Beta version'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-6440268723453419428</id><published>2010-08-26T02:16:00.000-07:00</published><updated>2010-08-26T02:24:32.476-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>Declare Global Access Level functions in MS CRM Form.</title><content type='html'>&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;strong&gt;Global functions in MS CRM Form. &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;The way CRM adds the javascript to the page, any function &lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;defined in the onload event will only have a local scope and can only &lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;be called from within the same onload event. However, if you put the &lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;function on the window object, then it should have global scope:&lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;window.MyCustomFunction = function() { ... }&lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;And then you should be able to call the function from an onchange &lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;event.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;&lt;strong&gt;Ex:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;// function name = MyCustomFunction &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;window.MyCustomFunction = function() {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert("My Global Level Function");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;1. Go to MS CRM -&amp;gt; Customisations -&amp;gt; Customise Entity -&amp;gt; Choose Entity -&amp;gt; Form and View&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;2. Go to OnLoad()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;3. Put the above fucntion onLoad() // Should be first statment.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;4. Go to OnSave()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;5. Call this function, MyCustomFunction();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;6. When you try to save the entity record this fucntion will get executed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;Hope you enjoy this tip.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-6440268723453419428?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/6440268723453419428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=6440268723453419428' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/6440268723453419428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/6440268723453419428'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/08/declare-global-access-level-fucntions.html' title='Declare Global Access Level functions in MS CRM Form.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-1770354079790217754</id><published>2010-08-11T02:54:00.000-07:00</published><updated>2010-08-11T03:01:11.393-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Azure'/><category scheme='http://www.blogger.com/atom/ns#' term='Videos'/><title type='text'>A simple definition of Windows Azure</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;Here is an interesting video that’s informative as well. It’s Friday evening after all , so chill out and enjoy this really nice &amp;amp; simple video that &lt;/span&gt;&lt;a href="http://blog.smarx.com/"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Steve Marx &lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;created to explain “What is Windows Azure?” with simple terms and hand drawn sketches.&lt;/span&gt; &lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="400" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/poDRw_Xi3Aw&amp;amp;rel=0&amp;amp;color1=0xb1b1b1&amp;amp;color2=0xcfcfcf&amp;amp;hl=en_US&amp;amp;feature=player_embedded&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/poDRw_Xi3Aw&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Now that was a great, wasn’t it. Hope you like this video. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-1770354079790217754?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/1770354079790217754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=1770354079790217754' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1770354079790217754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1770354079790217754'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/08/simple-definition-of-windows-azure.html' title='A simple definition of Windows Azure'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-6413159508376174135</id><published>2010-07-19T21:44:00.000-07:00</published><updated>2010-07-19T21:46:44.109-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Aggregate Functions'/><title type='text'>Support for COUNT(DISTINCT) in Fetch XML queries</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;Please see the &lt;/span&gt;&lt;a href="http://blogs.msdn.com/b/crm/archive/2009/03/10/support-for-count-distinct-in-fetch-xml-queries.aspx"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;crm&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; post for more details on Aggregate functions supported by MS CRM 4.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-6413159508376174135?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/6413159508376174135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=6413159508376174135' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/6413159508376174135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/6413159508376174135'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/07/support-for-countdistinct-in-fetch-xml.html' title='Support for COUNT(DISTINCT) in Fetch XML queries'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-3998943142091893034</id><published>2010-07-18T21:31:00.000-07:00</published><updated>2010-07-18T21:43:08.930-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Social Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM Accelerators'/><title type='text'>MS CRM Social Networking Workflow DateTime Format Error.</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The accelerator code as supplied does not correctly parse Twitter timestamps. DateTime.ParseExact breaks on the odd time zone value, which in (GMT/UK) comes from twitter with the value "+0000".&lt;br /&gt;&lt;br /&gt;DateTime.ParseExact can use a format string of "z", "zz", or "zzz", corresponding to "+0", "+00" or "+00:00" respectively, none of which match the Twitter format.&lt;br /&gt;&lt;br /&gt;You need to change the code in teh &lt;strong&gt;BuildDynEntity()&lt;/strong&gt; method, in &lt;strong&gt;msa_datapump.cs&lt;/strong&gt;, as follows:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;case "CrmDateTimeProperty":&lt;br /&gt;&lt;/strong&gt;//Twitter timestamps contain odd timezone specifier "+0000" that doesn;t work&lt;br /&gt;// well with DateTime.ParseExact().&lt;br /&gt;CrmDateTimeProperty crmDateTimeProperty = new CrmDateTimeProperty();&lt;br /&gt;CrmDateTime crmDateTimeValue = new CrmDateTime();&lt;br /&gt;DateTimeOffset parsedDateTime = DateTimeOffset.ParseExact(CRMAttrValue, "ddd MMM dd HH:mm:ss zzz yyyy", null);&lt;br /&gt;DateTime localDateTime = new DateTime(parsedDateTime.Ticks, DateTimeKind.Local);&lt;br /&gt;crmDateTimeProperty.Value = CrmDateTime.FromUser(localDateTime);&lt;br /&gt;crmDateTimeProperty.Name = CRMAttrName;&lt;br /&gt;crmEntity.Properties.Add(crmDateTimeProperty);&lt;br /&gt;break;&lt;br /&gt;&lt;br /&gt;Save / Complile / Build the assembly. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Register the assembly using plug-in registration tool.&lt;br /&gt;Restart the Microsoft Crm Async Service.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Start Creating the Twitter User. Now the workflow won't failed (i mean it will not be on the Waiting state anymore !!!).&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;Hope this will resolves the issue.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-3998943142091893034?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/3998943142091893034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=3998943142091893034' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3998943142091893034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3998943142091893034'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/07/ms-crm-social-networking-workflow.html' title='MS CRM Social Networking Workflow DateTime Format Error.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-7157394729167370429</id><published>2010-07-18T21:02:00.000-07:00</published><updated>2010-07-18T21:27:18.415-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Social Networking'/><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM Accelerators'/><title type='text'>MS CRM Social Networking Workflow Error (Twitter-Get External Updates / Missing Attributes)</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;Recently I've installed MS Social Networking Accelerator for MS CRM 4. The installation is very simple, it will get installed very easily. Once you installed and run you will encounter the Workflow errors:&lt;br /&gt;&lt;br /&gt;Basically the &lt;strong&gt;MSA_snStatus&lt;/strong&gt; Entity Customisation has some bugs. It does not include the below three attributes: &lt;strong&gt;You need to manually create those three attributes.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Open MS CRM App -&gt; Go to Settings -&gt; Go to Customisations -&gt; Customise Entity -&gt; Open MSA_snStatus entity -&gt; Go to Attributes (left hand navigation panel)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 1&lt;/strong&gt;. Add new attribute&lt;br /&gt;&lt;strong&gt;Step 2&lt;/strong&gt;. Specify attribute Display name = Contributors&lt;br /&gt;&lt;strong&gt;Step 3&lt;/strong&gt;. Specify attribute name = msa_snContributors [make sure your application default prefix is msa]&lt;br /&gt;&lt;strong&gt;Step 4&lt;/strong&gt;: datatype = nVarChar&lt;br /&gt;&lt;strong&gt;Step 5&lt;/strong&gt;: specify length = 200&lt;br /&gt;&lt;strong&gt;Step 6&lt;/strong&gt;: Save and clsoe&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Repeat the same steps for below attributes:&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;2. MSA_snCoordinates attribute [Display name = Coordinates / nVarchar / 200]&lt;br /&gt;3. MSA_snPlace attribute [Display name = Place / nVarchar / 200]&lt;br /&gt;&lt;br /&gt;Save and Publish the entity.&lt;br /&gt;Reload the MS CRM Application.&lt;br /&gt;&lt;br /&gt;Start Creating the Twitter User. Now the workflow won't failed (i mean it will not be on the Waiting state anymore !!!). &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Hope this will resolve the issue. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;span lang="EN-US"  style="color:blue;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-7157394729167370429?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/7157394729167370429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=7157394729167370429' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7157394729167370429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7157394729167370429'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/07/ms-crm-social-networking-workflow-error.html' title='MS CRM Social Networking Workflow Error (Twitter-Get External Updates / Missing Attributes)'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-5476728790242753025</id><published>2010-07-12T22:53:00.000-07:00</published><updated>2010-08-11T03:00:23.594-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xRM'/><category scheme='http://www.blogger.com/atom/ns#' term='Videos'/><title type='text'>xRM - Many Applications, One Platform</title><content type='html'>&lt;span style="font-size:85%;"&gt;xRM - Many Applications, One Platform&lt;/span&gt;&lt;br /&gt;&lt;object width="400" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/Yru5CkANOKA&amp;amp;hl=en_US&amp;amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/Yru5CkANOKA&amp;amp;hl=en_US&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="400" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-5476728790242753025?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/5476728790242753025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=5476728790242753025' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5476728790242753025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5476728790242753025'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/07/xrm-many-applications-one-platform.html' title='xRM - Many Applications, One Platform'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-7922973080311276666</id><published>2010-07-11T23:56:00.000-07:00</published><updated>2010-07-11T23:58:39.015-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2010'/><title type='text'>SharePoint Products and Technologies: 2010 (Technical Preview) Developer Documentation</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;Sharepoint 2010 VPC Image would be available soon. Till then you should &lt;a href="http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=94AFE886-3B20-4BC9-9A0D-ACD8CD232C24&amp;amp;displaylang=en"&gt;download Sharepoint 2010 Technical Documentation.&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Sharepoint 2010 developer documentation contains details about&lt;br /&gt;&lt;/u&gt;&lt;/strong&gt;How to Customizing the Ribbon in Windows SharePoint Services "14". The Ribbon is now included in the user interface for Windows SharePoint Services “14” and Microsoft SharePoint Server 2010.&lt;br /&gt;&lt;br /&gt;This developer tutorial for sharepoint 2010 describes how developers extend it using a combination of XML and ECMAScript (JavaScript, JScript).&lt;br /&gt;&lt;br /&gt;Customizations to the Ribbon in the included example are created using the Feature infrastructure, and can be deployed using a solution package (.wsp file). This tutorial for sharepoint 2010 is provided in both PDF and XPS format.&lt;br /&gt;&lt;br /&gt;This compiled help (.chm) file contains reference topics focusing on types and members that are called by other Microsoft applications. This reference does not reflect the entirety of the SharePoint Products and Technologies 2010 managed object model.&lt;br /&gt;&lt;br /&gt;The full SharePoint Products and Technologies 2010 SDK will accompany the public release of SharePoint 2010.&lt;br /&gt;&lt;a href="http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=94AFE886-3B20-4BC9-9A0D-ACD8CD232C24&amp;amp;displaylang=en"&gt;Download Sharepoint 2010 Technical Documentation &lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-7922973080311276666?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/7922973080311276666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=7922973080311276666' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7922973080311276666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7922973080311276666'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/07/sharepoint-products-and-technologies.html' title='SharePoint Products and Technologies: 2010 (Technical Preview) Developer Documentation'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-9388669030417187</id><published>2010-06-13T22:08:00.000-07:00</published><updated>2010-06-13T22:17:33.427-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM 4 Roll Ups'/><title type='text'>MS CRM Rollup 11 Known Issue (ISV config)</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;After installing UR11 one cannot find the menus which were added in ISV config.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Workaround until SE fix (TBD):&lt;br /&gt;&lt;/strong&gt;Add regkey [HKEY_CURRENT_USER\Software\Microsoft\MSCRMClient] "InitToolbarForO14"=dword:00000001&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-9388669030417187?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/9388669030417187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=9388669030417187' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/9388669030417187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/9388669030417187'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/06/ms-crm-rollup-11-known-issue-isv-config.html' title='MS CRM Rollup 11 Known Issue (ISV config)'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-8419812705813130379</id><published>2010-06-07T22:23:00.000-07:00</published><updated>2010-06-07T22:24:49.628-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharing Data Between Plug-ins'/><category scheme='http://www.blogger.com/atom/ns#' term='s'/><category scheme='http://www.blogger.com/atom/ns#' term='Plugins'/><title type='text'>Passing / Sharing Data Between Plug-ins</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;The message pipeline model provides for a PropertyBag of custom data values in the execution context that is passed through the pipeline and shared among registered plug-ins. This collection of data can be used by different plug-ins to communicate information between plug-ins and enable chain processing where data processed by one plug-in can be processed by the next plug-in in the sequence and so on. This feature is especially useful in pricing engine scenarios where multiple pricing plug-ins pass data between one another to calculate the total price for a sales order or invoice. Another potential use for this feature is to communicate information between a plug-in registered for a pre-event and a plug-in registered for a post-event.&lt;br /&gt;&lt;br /&gt;The name of the parameter that is used for passing information between plug-ins is SharedVariables. This is a collection of System.Object. A common type of object that is used to fill the collection is DynamicEntity. At run time, plug-ins can add, read, or modify properties in the SharedVariables property bag. This provides a method of information communication among plug-ins.&lt;br /&gt;&lt;br /&gt;Note Only types that are XML serializable should be placed in SharedVariables. All types derived from BusinessEntity are XML serializable.&lt;br /&gt;&lt;br /&gt;The following code example shows how to use SharedVariables to pass data from a pre-event registered plug-in to a post-event registered plug-in.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Example&lt;br /&gt;[C#]&lt;/strong&gt;&lt;br /&gt;using System;&lt;br /&gt;using Microsoft.Crm.Sdk;&lt;br /&gt;using Microsoft.Crm.SdkTypeProxy;&lt;br /&gt;&lt;br /&gt;public class AccountSetStatePreHandler : IPlugin&lt;br /&gt;{&lt;br /&gt;public void Execute(IPluginExecutionContext context)&lt;br /&gt;{&lt;br /&gt;// Create or retrieve some data that will be needed by the post event&lt;br /&gt;// handler. You could run a query, create an entity, or perform a calculation.&lt;br /&gt;//In this sample, the data to be passed to the post plug-in is&lt;br /&gt;// represented by a GUID.&lt;br /&gt;Guid contact = new Guid("{74882D5C-381A-4863-A5B9-B8604615C2D0}");&lt;br /&gt;&lt;br /&gt;// Pass the data to the post event handler in an execution context shared&lt;br /&gt;// variable named PrimaryContact.&lt;br /&gt;context.SharedVariables.Properties.Add(&lt;br /&gt;new PropertyBagEntry("PrimaryContact", (Object)contact.ToString()));&lt;br /&gt;// Alternate code: context.SharedVariables["PrimaryContact"] = contact.ToString();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-8419812705813130379?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/8419812705813130379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=8419812705813130379' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8419812705813130379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8419812705813130379'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/06/passing-sharing-data-between-plug-ins.html' title='Passing / Sharing Data Between Plug-ins'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-20053438534571087</id><published>2010-06-07T22:19:00.000-07:00</published><updated>2010-06-07T22:22:07.485-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Plugin Constructor'/><category scheme='http://www.blogger.com/atom/ns#' term='Plugins'/><title type='text'>Writing the Plug-in Constructor</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;The Microsoft Dynamics CRM platform has special support for a plug-in constructor that accepts two string parameters. If you write a constructor for your plug-in that accepts two string parameters, you can pass any two strings of information to the plug-in at run time. The following code shows these two parameters.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;[C#]&lt;/strong&gt;&lt;br /&gt;using System;&lt;br /&gt;using Microsoft.Crm.Sdk;&lt;br /&gt;using Microsoft.Crm.SdkTypeProxy;&lt;br /&gt;&lt;br /&gt;namespace CustomPlugin&lt;br /&gt;{&lt;br /&gt;public class ContactCreate: IPlugin&lt;br /&gt;{&lt;br /&gt;public ContactCreate(string unsecure, string secure)&lt;br /&gt;{&lt;br /&gt;// Do something with the parameter strings.&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public void Execute(IPluginExecutionContext context)&lt;br /&gt;{&lt;br /&gt;// Do something here.&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;The first string parameter of the constructor contains public (unsecure) information. The second string parameter contains non-public (secure) information. However, &lt;strong&gt;the secure string is not passed to a plug-in that executes while offline.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The information that is passed to the plug-in constructor in these two strings is specified when the plug-in is registered with Microsoft Dynamics CRM. When you use the PluginRegistration tool to register a plug-in, you can enter the secure and unsecure information in the Secure Configuration and Unsecure Configuration fields provided in the Register New Step form. The PluginDeveloper tool only supports the unsecure string through its CustomConfiguration attribute of the Step tag in the register.xml input file.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-20053438534571087?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/20053438534571087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=20053438534571087' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/20053438534571087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/20053438534571087'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/06/writing-plug-in-constructor.html' title='Writing the Plug-in Constructor'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-2398285645700227352</id><published>2010-06-07T22:11:00.000-07:00</published><updated>2010-06-07T22:13:21.643-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debug'/><title type='text'>Debugging a Plug-in</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;The following steps describe how to debug a plug-in.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. &lt;/strong&gt;Deploy the plug-in assembly.&lt;br /&gt;Copy the assembly to the standard plug-in folder on the server: &lt;crm-root&gt;\Server\bin\assembly. If there is another copy of the assembly at the same location and you cannot overwrite that copy because it is locked by Microsoft Dynamics CRM, run the iisreset program in a command window to free the assembly.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. &lt;/strong&gt;Register the plug-in on the desired stage of the event execution pipeline. Register the plug-in assembly on the server using on-disk deployment.&lt;br /&gt;Tip It is possible to debug a database deployed plug-in. The compiled plug-in assembly's .pdb file must be copied to the server's &lt;crm-root&gt;\Server\bin\assembly folder and IIS must then be restarted. After debugging has been completed, you must remove the .pdb file and reset IIS to prevent the w3wp.exe process from consuming additional memory.&lt;br /&gt;&lt;br /&gt;Generally, you do not want to register your plug-in in the event execution pipeline until the plug-in assembly is available on the Microsoft Dynamics CRM server. If someone else is using Microsoft Dynamics CRM on the server, and you have registered the plug-in in but have not yet deployed the assembly, the person running Microsoft Dynamics CRM receives an error if the system tries to execute the missing plug-in.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3. &lt;/strong&gt;Configure the debugger.&lt;br /&gt;Set a breakpoint in your plug-in code. For an online plug-in, attach the debugger to the w3wp.exe process on the Microsoft Dynamics CRM server. For an offline plug-in, attach the debugger to the Microsoft.Crm.Application.Hoster.exe process. For asynchronous registered plug-ins (or workflow assemblies) attach to the CrmAsyncService.exe process. If there are multiple processes running for the same executable file, attach the debugger to all of them because you do not know which process runs your custom code.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4. &lt;/strong&gt;Test the plug-in.&lt;br /&gt;Run the Microsoft Dynamics CRM Web application, or other custom application that uses the SDK, and perform whatever action is required to cause the plug-in to execute. For example, if a plug-in is registered for an account creation event, create a new account.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;5. &lt;/strong&gt;Debug your plug-in code.&lt;br /&gt;Make any needed changes to your code so that it performs as you want. If the code is changed, compile the code into an assembly and repeat step numbers 1, 3, and 4 in this procedure as necessary. However, if you change the plug-in assembly version number, you must unregister the earlier version of the assembly and register the new version.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;6. &lt;/strong&gt;Register the plug-in in the database.&lt;br /&gt;After the edit/compile/deploy/test/debug cycle for your plug-in has been completed, unregister the (on-disk) plug-in assembly and then reregister the plug-in in the Microsoft Dynamics CRM database.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-2398285645700227352?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/2398285645700227352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=2398285645700227352' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2398285645700227352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2398285645700227352'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/06/debugging-plug-in.html' title='Debugging a Plug-in'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-4782096953659132252</id><published>2010-06-07T21:33:00.000-07:00</published><updated>2010-06-07T22:03:40.543-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Child Pipeline'/><title type='text'>Create a CrmService proxy for plug-ins that execute in the child pipeline.</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;We always come across creating a CrmService Proxy for plug-ins that execute in the child pipeline. In a Child pipeline, you must instantiate the CrmService or MetadataService manually. &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;We just need to check the InvocationSource Property (Child = 1, Parent = 0) of the IPluginExecutionContext. Pass the InvocationSource Property value to the below method.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Below is very simple code which creates a proxy. &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;[C#]&lt;br /&gt;&lt;/strong&gt;/// &lt;param name="context"&gt;The execution context that was passed to the plug-in's Execute method.&lt;/param&gt;&lt;br /&gt;/// &lt;param name="flag"&gt;Set to True to use impersonation.&lt;/param&gt;&lt;br /&gt;/// &lt;returns&gt;A CrmServce instance.&lt;/returns&gt;&lt;br /&gt;private CrmService CreateCrmService(IPluginExecutionContext context, Boolean flag)&lt;br /&gt;{ &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;CrmAuthenticationToken authToken = new CrmAuthenticationToken();&lt;br /&gt;authToken.AuthenticationType = 0;&lt;br /&gt;authToken.OrganizationName = context.OrganizationName;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;// Include support for impersonation.&lt;br /&gt;&lt;/strong&gt;if (flag)&lt;br /&gt;authToken.CallerId = context.UserId;&lt;br /&gt;else&lt;br /&gt;authToken.CallerId = context.InitiatingUserId;&lt;br /&gt;&lt;br /&gt;CrmService service = new CrmService();&lt;br /&gt;service.CrmAuthenticationTokenValue = authToken;&lt;br /&gt;service.UseDefaultCredentials = true;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;// Include support for infinite loop detection.&lt;br /&gt;&lt;/strong&gt;CorrelationToken corToken = new CorrelationToken();&lt;br /&gt;corToken.CorrelationId = context.CorrelationId;&lt;br /&gt;corToken.CorrelationUpdatedTime = context.CorrelationUpdatedTime;&lt;br /&gt;corToken.Depth = context.Depth;&lt;br /&gt;&lt;br /&gt;RegistryKey regkey = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\MSCRM");&lt;br /&gt;&lt;br /&gt;service.Url = String.Concat(regkey.GetValue("ServerUrl").ToString(), "/2007/crmservice.asmx");&lt;br /&gt;service.CorrelationTokenValue = corToken;&lt;br /&gt;&lt;br /&gt;return service;&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-4782096953659132252?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/4782096953659132252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=4782096953659132252' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/4782096953659132252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/4782096953659132252'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2010/06/create-crmservice-proxy-for-plug-ins.html' title='Create a CrmService proxy for plug-ins that execute in the child pipeline.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-193044740368730286</id><published>2009-12-01T22:55:00.000-08:00</published><updated>2009-12-01T22:56:33.717-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Adapters'/><title type='text'>Microsoft Dynamics CRM 4.0 Adapter for Microsoft Dynamics GP 10.0 Partner Resource Kit</title><content type='html'>&lt;p&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;You can download the kit from below links:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;For Partners: &lt;/span&gt;&lt;a href="https://mbs.microsoft.com/partnersource/partneressentials/partnerreadiness/resourcing/MDCRMGPAdapter.htm" s_oidt="0" s_oid="https://mbs.microsoft.com/partnersource/partneressentials/partnerreadiness/resourcing/MDCRMGPAdapter"&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;https://mbs.microsoft.com/partnersource/partneressentials/partnerreadiness/resourcing/MDCRMGPAdapter.htm&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;&lt;br /&gt;For Existing Customers: &lt;/span&gt;&lt;a href="https://mbs.microsoft.com/customersource/worldwide/us/productinformation/factsheets/MDCRMGPAdapter" s_oidt="0" s_oid="https://mbs.microsoft.com/customersource/worldwide/us/productinformation/factsheets/MDCRMGPAdapter"&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;https://mbs.microsoft.com/customersource/worldwide/us/productinformation/factsheets/MDCRMGPAdapter&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-193044740368730286?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/193044740368730286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=193044740368730286' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/193044740368730286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/193044740368730286'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/12/microsoft-dynamics-crm-40-adapter-for.html' title='Microsoft Dynamics CRM 4.0 Adapter for Microsoft Dynamics GP 10.0 Partner Resource Kit'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-1375924875549489799</id><published>2009-11-14T23:25:00.000-08:00</published><updated>2009-11-14T23:33:16.834-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>Using Reflection to Get and Set values of Properties</title><content type='html'>&lt;p&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;The assembly that is generated for .Net Framework has metadata that describes the structure of the assembly and its classes. By using reflection we can investigate the structure of classes and the data that assembly holds dynamically at runtime. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;You can dynamically get/set values from/to properties of object. #&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;Get value&lt;/u&gt;&lt;/strong&gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;foreach (PropertyInfo info in myObject.GetType().GetProperties())&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;{&lt;br /&gt;if (info.CanRead)&lt;br /&gt;object o = info.GetValue(myObject, null);&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;} &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;Set value&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;object myValue = "Any_Value";&lt;br /&gt;if (info.CanWrite)&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;this.info.SetValue(myObject, myValue, null); &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;&lt;strong&gt;It's very helpful and easy to use. Isn't is ? &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Trebuchet MS;font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-1375924875549489799?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/1375924875549489799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=1375924875549489799' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1375924875549489799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1375924875549489799'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/11/using-reflection-to-get-and-set-values.html' title='Using Reflection to Get and Set values of Properties'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-8329878951730734098</id><published>2009-11-11T20:32:00.000-08:00</published><updated>2009-11-11T20:36:59.462-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='FileSync'/><title type='text'>SyncToy 2.1 Available for Download</title><content type='html'>&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;How many times have you tried to copy a huge number of files only to accidently hit space or escape cancelling the transfer and you don't want to re-start from scratch? Well there's a better way to sync files between directories and drives, SyncToy. &lt;/span&gt;&lt;span style="font-size:85%;"&gt;You might remember this from the XP PowerToys days, the ease of use makes it a very popular download. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Trebuchet MS;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;SyncToy 2.1 has &lt;/span&gt;&lt;a title="SyncToy 2.0 Download" href="http://www.microsoft.com/downloads/details.aspx?familyid=C26EFA36-98E0-4EE9-A7C5-98D0592D8C52&amp;amp;displaylang=en" target="_blank" mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=C26EFA36-98E0-4EE9-A7C5-98D0592D8C52&amp;amp;displaylang=en"&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;just been released&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt; to the Microsoft Download center. SyncToy 2.1 is a free application that synchronizes files and folders between locations. Typical uses include sharing files, such as photos, with other computers and creating backup copies of files and folders.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;SyncToy2.1 is powered by the latest synchronization engine from &lt;/span&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=89adbb1e-53ff-41b5-ba17-8e43a2e66254&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=89adbb1e-53ff-41b5-ba17-8e43a2e66254&amp;amp;displaylang=en"&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;Microsoft Sync Framework 2.0&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt; and provides better performance and robustness. The new features and improvements included in SyncToy 2.1 release are:&lt;br /&gt;Better Performance: The speed of file copy operations is significantly increased across the board.&lt;br /&gt;Improved Robustness: Much more resilient to transient network and file system errors, and better error reporting that pinpoints which file the sync failed on in case there’s a fatal error that stops the sync.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;Folder pair configuration backup: Folder pair configuration is automatically backed up under %localappdata%\microsoft\synctoy\2.0. You can replace SyncTopDirPairs.bin with the backup copy to resolve the last saved configuration.  &lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;Bug Fixes:&lt;br /&gt;o        Fixed the data corruption issue when using SyncToy with NAS drives.&lt;br /&gt;o        Fixed the bug that prevented uploading files to SharePoint when using SyncToy 2.0.&lt;br /&gt;o        Fixed bugs that prevented delete changes from being synchronized when sync option was set to &lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;“Echo”. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;SyncToy 2.1 is now available for download from: &lt;/span&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=C26EFA36-98E0-4EE9-A7C5-98D0592D8C52&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=C26EFA36-98E0-4EE9-A7C5-98D0592D8C52&amp;amp;displaylang=en"&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=C26EFA36-98E0-4EE9-A7C5-98D0592D8C52&amp;amp;displaylang=en&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-8329878951730734098?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/8329878951730734098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=8329878951730734098' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8329878951730734098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8329878951730734098'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/11/synctoy-21-available-for-download.html' title='SyncToy 2.1 Available for Download'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-6796555819511025413</id><published>2009-11-04T04:37:00.001-08:00</published><updated>2009-11-04T04:44:20.739-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSRS'/><title type='text'>Use Temp Table in SQL SERVER 2005 Reporting Services</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;I was working on 2005 SSRS to generate a reprot which required a use of Temporary Tables in the dataset. But unfortunately SSRS 2005 doesn't support it. 2008 supports both Table Datatype and Temp Tables.&lt;br /&gt;&lt;br /&gt;To resolve the issue we can use Table DataType. Below is the example:&lt;br /&gt;&lt;br /&gt;DECLARE @TempTable TABLE (&lt;br /&gt;ID INT,&lt;br /&gt;DOJ DATETIME,&lt;br /&gt;NameVarchar(100)&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;INSERT INTO @TempTable VALUES(1, GETDATE(), 'Ranjit');&lt;br /&gt;INSERT INTO @TempTable VALUES(2, GETDATE(), 'Ranjitsingh');&lt;br /&gt;&lt;br /&gt;SELECT * FROM @TempTable&lt;br /&gt;This way you can resolve the Temp table issues by using Table Datatype.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-6796555819511025413?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/6796555819511025413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=6796555819511025413' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/6796555819511025413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/6796555819511025413'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/11/use-temp-table-in-sql-server-2005.html' title='Use Temp Table in SQL SERVER 2005 Reporting Services'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-5555758695600774575</id><published>2009-11-04T04:21:00.000-08:00</published><updated>2009-11-04T04:44:53.725-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>PostBack in ASP.Net showModalDialog opens a new window</title><content type='html'>&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;When working with Modal Dialog Windows in ASP.Net you have experience that &lt;span id="SPELLING_ERROR_0" class="blsp-spelling-error"&gt;postback&lt;/span&gt; opens up a new window. This behavior is by default.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;I was using window.&lt;span id="SPELLING_ERROR_1" class="blsp-spelling-error"&gt;showModalDialog&lt;/span&gt;() to open a &lt;span id="SPELLING_ERROR_2" class="blsp-spelling-error"&gt;ASPX&lt;/span&gt; Page from the parent page using JavaScript. But whenever the &lt;span id="SPELLING_ERROR_3" class="blsp-spelling-error"&gt;postback&lt;/span&gt; happens in the modal window during a button click or &lt;span id="SPELLING_ERROR_4" class="blsp-spelling-error"&gt;dropdown&lt;/span&gt; value changes, it would spawn off a new window. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;You can change the behaviour by just including below tag line in the &amp;lt;head&amp;gt; of the modal window (that is &lt;span id="SPELLING_ERROR_5" class="blsp-spelling-error"&gt;aspx&lt;/span&gt; page).&lt;br /&gt;&lt;strong&gt;&amp;lt;base target="_self"&amp;gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;I hope this would help you resolving the problem.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-5555758695600774575?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/5555758695600774575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=5555758695600774575' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5555758695600774575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5555758695600774575'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/11/postback-in-aspnet-showmodaldialog.html' title='PostBack in ASP.Net showModalDialog opens a new window'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-2391830904216284767</id><published>2009-11-04T04:15:00.000-08:00</published><updated>2009-11-04T04:20:31.733-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>Missing ASP.NET and ASP.NET Web Service Project Templates</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Missing ASP.NET and ASP.NET Web Service Project Templates?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;You are at the right place to solve your problem. Just visit the below link and dlwonload the .msi file.&lt;/span&gt;&lt;br /&gt;&lt;a href="http://download.microsoft.com/download/9/0/6/906064ce-0bd1-4328-af40-49dca1aef87c/WebApplicationProjectSetup.msi"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;http://download.microsoft.com/download/9/0/6/906064ce-0bd1-4328-af40-49dca1aef87c/WebApplicationProjectSetup.msi&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;After instalation ASP.NET web aplication template and WebService appears in New Project Promt .&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Isn't it simple solution?&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-2391830904216284767?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/2391830904216284767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=2391830904216284767' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2391830904216284767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2391830904216284767'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/11/missing-aspnet-and-aspnet-web-service.html' title='Missing ASP.NET and ASP.NET Web Service Project Templates'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-9030698948056906528</id><published>2009-08-28T02:17:00.000-07:00</published><updated>2009-08-28T02:19:56.713-07:00</updated><title type='text'>eService Accelerator for CRM Online - Video</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Its a very good video for eService Accelerator for CRM. You can find it &lt;/span&gt;&lt;a href="http://www.democrmonline.com/eServiceOnline/"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-9030698948056906528?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/9030698948056906528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=9030698948056906528' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/9030698948056906528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/9030698948056906528'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/08/eservice-accelerator-for-crm-online.html' title='eService Accelerator for CRM Online - Video'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-5419472960048622208</id><published>2009-08-28T02:06:00.000-07:00</published><updated>2009-12-18T05:34:58.269-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM 4 Roll Ups'/><title type='text'>Update Rollup 6 for Microsoft Dynamics CRM 4.0 (KB 970148)</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Microsoft has release rollup 6for CRM 4. KB952858 can be downloaded &lt;/span&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=79f90982-c039-41c2-af8e-3119ecf27790&amp;amp;displaylang=en"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;This is a tested, cumulative set of updates for Microsoft Dynamics CRM 4.0. It includes performance enhancements that are packaged together for easy deployment.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Please note that if you have customized Microsoft Dynamics CRM 4.0 Help files, back up your customized files before you install this update !!! &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Overview&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;a name="Description"&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Microsoft has released Update Rollup 6 for Microsoft Dynamics CRM 4.0 Server, Microsoft Dynamics CRM for Microsoft Office Outlook, Microsoft Dynamics CRM Data Migration Manager, Microsoft Dynamics CRM 4.0 Language Pack, and Microsoft Dynamics CRM 4.0 E-mail Router.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;For more information about this release, see Microsoft Knowledge Base article 970148:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://support.microsoft.com/default.aspx?kbid=970148"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Update Rollup 6 is available for Microsoft Dynamics CRM 4.0&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;To maintain parity between the application components of Microsoft Dynamics CRM 4.0, this update rollup includes packages for Microsoft Dynamics CRM 4.0 Server, Microsoft Dynamics CRM for Outlook, Microsoft Dynamics CRM Data Migration Manager, Microsoft Dynamics CRM Language Packs, and Microsoft Dynamics CRM 4.0 E-mail Router.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-5419472960048622208?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/5419472960048622208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=5419472960048622208' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5419472960048622208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5419472960048622208'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/08/update-rollup-6-for-microsoft-dynamics.html' title='Update Rollup 6 for Microsoft Dynamics CRM 4.0 (KB 970148)'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-4081915317883005701</id><published>2009-08-11T20:14:00.000-07:00</published><updated>2009-08-11T20:22:02.848-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM Templates'/><title type='text'>New Visual Studio Templates for MS CRM</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=82E632A7-FAF9-41E0-8EC1-A2662AAE9DFB&amp;amp;displaylang=en"&gt;CRM SDK version 4.0.9&lt;/a&gt; included three Visual Studio templates to help speed up your CRM-related development efforts:&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;span style="font-size:130%;"&gt;Available Templates&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Plug-in &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Workflow activity &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;CRM Add-on web page&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The templates may be found in the visualstudiotemplates folder when you unzip the SDK package.&lt;br /&gt;Each template has an accompanying readme.doc file with instructions for installation and usage notes.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;span style="font-size:130%;"&gt;&lt;strong&gt;Installation&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;Installation is fairly straightforward, just perform these steps:&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;1) Navigate to the Visual Studio Folder:&lt;br /&gt;%Documents and Settings%\Visual Studio 2008\Templates\ProjectTemplates\Visual C#&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;2) Create a folder called CRM.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;3) Copy each of the three template’s .zip file to the CRM folder.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The templates should now be installed and ready to use.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-4081915317883005701?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/4081915317883005701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=4081915317883005701' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/4081915317883005701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/4081915317883005701'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/08/new-visual-studio-templates-for-ms-crm.html' title='New Visual Studio Templates for MS CRM'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-3264641270953938002</id><published>2009-07-16T07:22:00.000-07:00</published><updated>2009-08-28T02:11:30.760-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM 4 Roll Ups'/><title type='text'>RollUp 5 release for MS CRM 4.0</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Microsoft has release rollup 5for CRM 4. KB952858 can be downloaded &lt;/span&gt;&lt;a href="http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=5101d801-976b-4c11-bdfc-000b970ef4a3&amp;amp;displaylang=en"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;This is a tested, cumulative set of updates for Microsoft Dynamics CRM 4.0. It includes performance enhancements that are packaged together for easy deployment.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Please note that if you have customized Microsoft Dynamics CRM 4.0 Help files, back up your customized files before you install this update !!! &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-3264641270953938002?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/3264641270953938002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=3264641270953938002' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3264641270953938002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3264641270953938002'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/07/rollup-5-release-for-ms-crm-40.html' title='RollUp 5 release for MS CRM 4.0'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-2699498284786514273</id><published>2009-07-13T00:51:00.000-07:00</published><updated>2009-07-13T00:56:00.122-07:00</updated><title type='text'>Crystal Report 4.6 - Error 20540; Missing or out of date Export DLL</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;I was happen to install Crystal Report 4.6. for one of my project. As soon as I call the Crystal Report via VB 6.0 Code, i got the below error -&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Calling a report from an application using the Crystal Report Control (Crystl32.ocx) version 4.6 results in one of the following:&lt;br /&gt;- not all of the export options are available - error 20540; Missing or out of date Export DLL. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;If you are getting the same error as above please follow the below steps to resolve the issue:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;Solution &lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;Seagate Crystal Reports version 4.6 installs the Crystal export DLLs into the&lt;br /&gt;\Program Files\Microsoft Visual Studio\Common\Tools\REPORTS directory, rather than putting them in a Windows\Crystal, or Windows\system directory&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;This does not create a problem conducting an export from the Crystal Reports Designer,&lt;br /&gt;From a Microsoft Visual Basic application, the export DLLs are not found.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;Workaround&lt;/u&gt;&lt;/strong&gt;:There are two ways around this:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;1. Add the \Program Files\Microsoft Visual Studio\Common\Tools\REPORTS directory to your Path statement so that the operating system searches that directory for needed DLLs.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;2. Copy the export DLLs to the Windows\system directory. The export DLLs are the u2*.dll files.&lt;br /&gt;Reference : Crystal Care Technical Support. &lt;/span&gt;&lt;a href="http://support.crystaldecisions.com/"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;http://support.crystaldecisions.com/&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Isn't it easy !!! Happy Development.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-2699498284786514273?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/2699498284786514273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=2699498284786514273' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2699498284786514273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2699498284786514273'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/07/crystal-report-46-error-20540-missing.html' title='Crystal Report 4.6 - Error 20540; Missing or out of date Export DLL'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-5222105488251207952</id><published>2009-06-23T02:27:00.000-07:00</published><updated>2009-06-23T02:35:32.043-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint'/><title type='text'>System.IO.FileNotFoundException: The Web application could not be found.</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;If you are getting the above error when performing some operation in you Web Service / Web Appliation with Sharepoint server. You can resolve this by adding the Sharepoint application pool in you custom Web Service / Web Appliation :&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;In the IIS, you need to open the property page of the Web Service / Web Appliation that you host. under "Home Directory" Tab, you can chose the appliction pool. make sure that &lt;strong&gt;your sharepoint web appliction and your webservice sharing the same application pool name&lt;/strong&gt;.&lt;br /&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;To interact with a SharePoint Server from out side the SharePoint web server it self, you need to write a SharePoint web service. SharePoint web services are nothing bur regular web service, only difference is that they are configured into the SharePoiint site configurations. And from inside the Web service you can do whatever possible with the Object model. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;To get the SPSite instance from inside the web service, you even dont need to specify domain names, ip etc. Just doing the following you can have an instance of SPSite&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;SPSite siteCollection = SPControl.GetContextSite(HttpContext.Current);  OR&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;SPWeb subSite = SPControl.GetContextWeb(HttpContext.Current);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;After creating and deploying a web service into the SharePoint you can talk to the web service from anywhere of the world and the web service will actually make use of object model to talk to SharePoint.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-5222105488251207952?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/5222105488251207952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=5222105488251207952' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5222105488251207952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5222105488251207952'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/06/systemiofilenotfoundexception-web.html' title='System.IO.FileNotFoundException: The Web application could not be found.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-609435847052431489</id><published>2009-06-23T02:13:00.000-07:00</published><updated>2009-06-23T02:24:14.739-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM'/><title type='text'>Could not verify the version of Microsoft Dynamics CRM - VPC 2009 Error</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;I download the MS CRM VPC 2009 and did the windows update. When I reboot the system the MS CRM Web Application was not getting loaded.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;I confirm that all the MS SQL SERVER and MS CRM services are running. Finally I check the Event Log and found the below error:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Could not verify the version of Microsoft Dynamics CRM at &lt;/span&gt;&lt;a href="http://crm/Contoso"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;http://crm/Contoso&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The remote name could not be resolved: 'crm'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;To resolve this issue, simply add the entry in HOST file. &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Browse "C:\WINDOWS\system32\drivers\etc\" and open the HOSTS file in notepad and add the below entry at the end of the file : &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;127.0.0.1 crm &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Save and close the file.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Refresh you browser.... Here your MS CRM app will get loaded....&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-609435847052431489?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/609435847052431489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=609435847052431489' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/609435847052431489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/609435847052431489'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/06/could-not-verify-version-of-microsoft.html' title='Could not verify the version of Microsoft Dynamics CRM - VPC 2009 Error'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-7626501516772377449</id><published>2009-06-13T01:10:00.000-07:00</published><updated>2009-06-13T01:14:08.785-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SDK'/><title type='text'>Microsoft Dynamics CRM SDK Version 4.0.9 Released</title><content type='html'>&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=82E632A7-FAF9-41E0-8EC1-A2662AAE9DFB&amp;amp;displaylang=en" target="_blank"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Download&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; this new version of the SDK or view it on &lt;/span&gt;&lt;a href="http://msdn.microsoft.com/library/aa155288.aspx" target="_blank"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;MSDN&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;This release provides continuing support for the on-premise user and new information for online users. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The following are some highlights. For a complete list of changes, see the Release History on the first page.&lt;br /&gt;&lt;strong&gt;Server-to-Server Authentication Sample&lt;/strong&gt;. This sample shows how to authenticate and impersonate the logged-on user in a server-to-server scenario with Microsoft Dynamics CRM Online.&lt;br /&gt;Metadata Browser - Over 100 pages from the metadata browser have been incorporated into the SDK so that Online users have access to this information.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Visual Studio Templates&lt;/strong&gt;. Added three new Microsoft Visual Studio template projects for you to use to start your projects: CRM Web page, plug-in, and custom workflow activity. For more information, see &lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb955386.aspx"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;List of Samples in the SDK Download&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Dependent Picklist Sample&lt;/strong&gt; - This sample shows how to make the options available in a picklist field dependent on the selected option of another picklist. It supports chaining several picklist fields together. This sample also includes best practices for defining functions in the OnLoad event and reusing them in other form events.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Updated WSDLS for CRM Online&lt;/strong&gt;. Added new properties available only on Online and a new Discovery service method that retrieves the logged-on user's ID in Microsoft Dynamics CRM Online.&lt;br /&gt;Delete Async Records Sample - This sample shows how to remove completed records from the async table.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;KB Article Topics&lt;/strong&gt; - added topics that describe knowledge base article states, how to create, publish and remove the articles, and how to search for published knowledge base articles in Microsoft Dynamics CRM.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;Updated Visual Studio projects to work for both VS 2005 and VS2008.&lt;br /&gt;Updated support information for plug-in and workflow assembly backwards compatibility.&lt;br /&gt;More sample code updates and miscellaneous bug fixes.&lt;br /&gt;&lt;br /&gt;Cheers !!!!!&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-7626501516772377449?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/7626501516772377449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=7626501516772377449' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7626501516772377449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7626501516772377449'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/06/microsoft-dynamics-crm-sdk-version-409.html' title='Microsoft Dynamics CRM SDK Version 4.0.9 Released'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-8459869314201188480</id><published>2009-05-30T01:10:00.000-07:00</published><updated>2009-05-30T01:21:27.565-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Service'/><title type='text'>How to UnRegister .NET Windows Service ?</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Use the below script to unregister a windows Service.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Create a batch file (eg., UnRegister.bat) and put it in the same foler where your windows service executable file resides). &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Copy the below script and paste it in above "UnRegister.bat" file. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;@ECHO OFF &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;REM The following directory is for .NET 2.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;set DOTNETFX2=%SystemRoot%\Microsoft.NET\Framework\v2.0.50727&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;set PATH=%PATH%;%DOTNETFX2% &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;echo UnInstalling WindowsService... &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;echo --------------------------------------------------- &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;net stop WINDOWS_SERVICE_NAME&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;InstallUtil /u WINDOWS_SERVICE.EXE &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;echo --------------------------------------------------- &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;pause &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;echo &lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Done. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Step 3:&lt;/strong&gt; Replace your windows Service executable file with "WINDOWS_SERVICE_NAME" and "WINDOWS_SERVICE.EXE" string. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Step 4:&lt;/strong&gt; Save -&gt; Exit from the file. Now the batch file is reay to uninstall the windows service. Just double click the "UnRegister.bat" file.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-8459869314201188480?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/8459869314201188480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=8459869314201188480' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8459869314201188480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8459869314201188480'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/05/unregistering-net-windows-service.html' title='How to UnRegister .NET Windows Service ?'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-3987042736000019005</id><published>2009-05-30T00:57:00.000-07:00</published><updated>2009-05-30T01:22:55.236-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Service'/><title type='text'>How to Register .NET Windows Service ?</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;Registering a Windows Service is always a challenge .&lt;br /&gt;&lt;br /&gt;I personally prefer to write / use a script. Below is a script which will install a Windows Service and start it once its installed properly. By default it will set the Mode "Automatic When windows OS starts". &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Create a batch file (eg., Register.bat) and put it in the same foler where your windows service executable file resides).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Copy the below script and paste it in above "Register.bat" file.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;@ECHO OFF&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;REM The following directory is for .NET 2.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;set DOTNETFX2=%SystemRoot%\Microsoft.NET\Framework\v2.0.50727&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;set PATH=%PATH%;%DOTNETFX2%&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;echo Installing WindowsService...&lt;br /&gt;echo ---------------------------------------------------&lt;br /&gt;InstallUtil /i WINDOWS_SERVICE_NAME&lt;br /&gt;net start WINDOWS_SERVICE.EXE&lt;br /&gt;echo ---------------------------------------------------&lt;br /&gt;pause&lt;br /&gt;echo Done.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Step 3:&lt;/strong&gt; Replace your windows Service executable file with "WINDOWS_SERVICE_NAME" and "WINDOWS_SERVICE.EXE" string. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;&lt;strong&gt;Step 4:&lt;/strong&gt; Save -&gt; Exit from the file. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Now the batch file is reay to install the windows service. Just double click the "Register.bat" file.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;Isn't it very easy !!!!&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-3987042736000019005?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/3987042736000019005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=3987042736000019005' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3987042736000019005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3987042736000019005'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/05/registering-net-windows-service-script.html' title='How to Register .NET Windows Service ?'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-2566225100200136737</id><published>2009-05-18T21:16:00.000-07:00</published><updated>2009-05-18T21:30:42.919-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM 4 Roll Ups'/><title type='text'>RollUp 4 release for MS CRM 4.0</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Microsoft has release rollup 4 for CRM 4. KB952858 can be downloaded &lt;/span&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=0ddf8e83-5d9c-4fe7-9ae6-f2713a024071&amp;amp;displaylang=en"&gt;&lt;span style="font-size:85%;"&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;This is a tested, cumulative set of updates for Microsoft Dynamics CRM 4.0. It includes performance enhancements that are packaged together for easy deployment.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Please note that if you have customized Microsoft Dynamics CRM 4.0 Help files, &lt;strong&gt;back up your customized files before you install this update !!! &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-2566225100200136737?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/2566225100200136737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=2566225100200136737' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2566225100200136737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2566225100200136737'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/05/rollup-4-release-for-ms-crm-40.html' title='RollUp 4 release for MS CRM 4.0'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-7162755271162275519</id><published>2009-05-17T00:30:00.000-07:00</published><updated>2009-05-17T00:41:37.333-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VPC'/><title type='text'>Invalid Action - The selected action was not valid.</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_pXTiQIAxyVU/Sg-_nGR0pzI/AAAAAAAAADU/zPpS3HQ7RTg/s1600-h/InvalidAction.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336694761878497074" style="WIDTH: 242px; CURSOR: hand; HEIGHT: 53px" alt="" src="http://2.bp.blogspot.com/_pXTiQIAxyVU/Sg-_nGR0pzI/AAAAAAAAADU/zPpS3HQ7RTg/s400/InvalidAction.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;I download new MS CRM VPC (April 2009), When I browse the MS CRM Default organization (contoso)I discovered that we were receiving a very descriptive "Invalid Action: The selected action was not valid" error message.&lt;/span&gt; &lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/_pXTiQIAxyVU/Sg-_anctVrI/AAAAAAAAADM/3qHfeUo1CSA/s1600-h/InvalidAction.png"&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;div&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Then, I checked the system's Application Event Log. LOL, I found the following error message:&lt;br /&gt;&lt;strong&gt;Source&lt;/strong&gt;: Current active key (KeyType : CrmWRPCTokenKey) is expired. This can indicate that a key is not being regenerated properly. Current Active Key : CrmKey(Id:e1a5b215-d01e-de11-9d16-0003ffd0167c, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:04/01/2009 15:16:36, ExpiresOn:05/04/2009 15:16:36, CreatedOn:04/01/2009 15:16:36, CreatedBy:NT AUTHORITY\NETWORK SERVICE. Key Setting : &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Fortunately, this problem was easily solved by running &lt;strong&gt;services.msc&lt;/strong&gt; and starting the &lt;strong&gt;Microsoft CRM Asynchronous Processing Service.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Always look into Event Log messages for quick error resolutions (MS, Pls give more info, dont just put the kb link :( )&lt;/span&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-7162755271162275519?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/7162755271162275519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=7162755271162275519' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7162755271162275519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7162755271162275519'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/05/invalid-action-selected-action-was-not.html' title='Invalid Action - The selected action was not valid.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_pXTiQIAxyVU/Sg-_nGR0pzI/AAAAAAAAADU/zPpS3HQ7RTg/s72-c/InvalidAction.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-2492341740041891851</id><published>2009-05-16T14:08:00.000-07:00</published><updated>2009-05-16T14:12:41.026-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>Read a Text File Line by Line using C#</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Here is the sample code:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;string file_name = @"c:\list.txt";&lt;br /&gt;System.IO.StreamReader ObjReader = new System.IO.StreamReader(file_name);&lt;br /&gt;do&lt;br /&gt;{&lt;br /&gt;MessageBox.Show(ObjReader.ReadLine());&lt;br /&gt;} while (ObjReader.Peek() != -1);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Happy Programming !!!!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-2492341740041891851?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/2492341740041891851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=2492341740041891851' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2492341740041891851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2492341740041891851'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/05/read-text-file-line-by-line-using-net.html' title='Read a Text File Line by Line using C#'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-9005059840355871746</id><published>2009-05-16T10:37:00.000-07:00</published><updated>2009-05-16T10:48:08.283-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><title type='text'>Recover Corrupt SQL Server Database</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;This is quiet common while working on VPC (MS CRM VPC) that when the VPC gets close abnormally. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;When you restart the VPC and try to open MS CRM Web you will see some SQL SERVER (Database Corrupt) related error. When you open SQL Server Enterprises studio and we will observe that the database is in SUSPEND mode. And this is due to the VPC gets close abnormally. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;strong&gt;&lt;u&gt;But still you can recover the DATABASE. Use the below set of SQL Statement .&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;br /&gt;EXEC sp_resetstatus 'MicrosoftCRM_MSCRM';&lt;br /&gt;ALTER DATABASE MicrosoftCRM_MSCRM SET EMERGENCY&lt;br /&gt;&lt;br /&gt;DBCC checkdb('MicrosoftCRM_MSCRM')&lt;br /&gt;ALTER DATABASE MicrosoftCRM_MSCRM SET SINGLE_USER WITH ROLLBACK IMMEDIATE&lt;br /&gt;&lt;br /&gt;DBCC CheckDB ('MicrosoftCRM_MSCRM', REPAIR_ALLOW_DATA_LOSS)&lt;br /&gt;ALTER DATABASE MicrosoftCRM_MSCRM SET MULTI_USER&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;MicrosoftCRM_MSCRM&lt;/u&gt;&lt;/strong&gt; is database name (for example purpose).  When you use this script to recover the database replace &lt;strong&gt;MicrosoftCRM_MSCRM&lt;/strong&gt; with your database name.&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana;"&gt;Enjoy. Happy recovering corrupt SQL Server Database.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-9005059840355871746?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/9005059840355871746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=9005059840355871746' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/9005059840355871746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/9005059840355871746'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/05/recover-corrupt-sql-server-database.html' title='Recover Corrupt SQL Server Database'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-5514867126471251019</id><published>2009-05-16T00:24:00.000-07:00</published><updated>2009-05-16T14:29:00.738-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET String Methods'/><title type='text'>IsNullOrEmptyOrNoValue() - Extension of IsNullOrEmpty()</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;public static bool IsNullOrEmptyOrNoValue(string strValue) &lt;/strong&gt;&lt;br /&gt;{ &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;return (string.IsNullOrEmpty(strValue) ? true : (string.IsNullOrEmpty(strValue.Trim()) ? true : false));&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;}&lt;br /&gt;&lt;br /&gt;Parameters&lt;br /&gt;&lt;strong&gt;&lt;em&gt;value&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;Type: System.String&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;A String reference.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Return Value&lt;/strong&gt; &lt;/em&gt;&lt;br /&gt;Type: SystemBoolean&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;em&gt;true &lt;/em&gt;&lt;/strong&gt;if the value parameter is a null reference (Nothing in Visual Basic) or an empty string (""); or the trim value is empty otherwise, false.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;em&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Remarks&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;IsNullOrEmpty is a convenience method that enables you to simultaneously test whether a String is a null reference (Nothing in Visual Basic) or its value is Empty or the trim value is empty.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-5514867126471251019?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/5514867126471251019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=5514867126471251019' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5514867126471251019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5514867126471251019'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/05/isnulloremptyornovalue-extension-of.html' title='IsNullOrEmptyOrNoValue() - Extension of IsNullOrEmpty()'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-39404350020835174</id><published>2009-05-16T00:15:00.000-07:00</published><updated>2009-05-16T00:17:51.137-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><title type='text'>IIS Log File Location</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Here is the solution.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;Location of IIS log files:&lt;br /&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Windows Xp:&lt;/strong&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;C:\WINDOWS\system32\Logfiles\W3SVC1 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Windows NT/2000:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;/strong&gt;C:\WINNT\system32\Logfiles\W3SVC1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-39404350020835174?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/39404350020835174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=39404350020835174' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/39404350020835174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/39404350020835174'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/05/iis-log-file-location.html' title='IIS Log File Location'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-5749732354272449529</id><published>2009-05-16T00:10:00.000-07:00</published><updated>2009-05-16T00:14:39.658-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 6'/><title type='text'>Visual Studio 6 Error - Cannot find file ACMBOOT.EXE (or one of its components).</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;I was happen to install Visual Studio 6.0 for one of my project. As soon as Run the Professional Edition i got the below error -&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Cannot find file ACMBOOT.EXE (or one of its components). Check to ensure the path and filename are correct and that all required libraries are available.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;If you are getting the same error as above please follow the below steps to resolve the issue:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;1. make a copy of your installation cd in your hard drive&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;2. make a copy of the setup/VS98ENT.STF and name it acmsetup.STF&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;3. copy entire content of setup/ to previous folder (the one that has acmboot.exe file)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;4. run acmsetup.exe instead of setup (the one that's on the same path as acmboot.exe)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;5. voala, that's it, your visual studio 6.0 will be installed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Isn't it easy !!! Happy Development.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-5749732354272449529?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/5749732354272449529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=5749732354272449529' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5749732354272449529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5749732354272449529'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/05/visual-studio-6-error-cannot-find-file.html' title='Visual Studio 6 Error - Cannot find file ACMBOOT.EXE (or one of its components).'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-6991388096781736637</id><published>2009-04-28T04:10:00.000-07:00</published><updated>2010-12-05T22:05:48.105-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dynamic Entity'/><title type='text'>Retrieve Multiple Dynamic Entity Records Example</title><content type='html'>&lt;div class="csharpcode"&gt;&lt;strong&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;strong&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Example:&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;style type="text/css"&gt;.csharpcode, .csharpcode pre{ font-size: small; color: black; font-family: Consolas, "Courier New", Courier, Monospace; background-color: #ffffff; /*white-space: pre;*/}.csharpcode pre { margin: 0em; }.csharpcode .rem { color: #008000; }.csharpcode .kwrd { color: #0000ff; }.csharpcode .str { color: #006080; }.csharpcode .op { color: #0000c0; }.csharpcode .preproc { color: #cc6633; }.csharpcode .asp { background-color: #ffff00; }.csharpcode .html { color: #800000; }.csharpcode .attr { color: #ff0000; }.csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em;}.csharpcode .lnum { color: #606060; }&lt;/style&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="kwrd"&gt;try&lt;/span&gt;      &lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;BusinessEntityCollection retrieved = RetreiveMultipleEntityDetails(entityName.Trim().ToLower(), &lt;span class="kwrd"&gt;new&lt;/span&gt; &lt;span class="kwrd"&gt;string&lt;/span&gt;[] { filterColumn }, &lt;span class="kwrd"&gt;new&lt;/span&gt; &lt;span class="kwrd"&gt;string&lt;/span&gt;[] { filterValue }, &lt;span class="kwrd"&gt;null&lt;/span&gt;);            &lt;span class="kwrd"&gt;if&lt;/span&gt; (retrieved != &lt;span class="kwrd"&gt;null&lt;/span&gt;)                  &lt;span class="kwrd"&gt;return&lt;/span&gt; (DynamicEntity)retrieved.BusinessEntities[0];            &lt;span class="kwrd"&gt;return&lt;/span&gt; &lt;span class="kwrd"&gt;null&lt;/span&gt;;      }&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;strong&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Function: &lt;/span&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; BusinessEntityCollection RetreiveMultipleEntityDetails(&lt;span class="kwrd"&gt;string&lt;/span&gt; entityName, &lt;span class="kwrd"&gt;string&lt;/span&gt;[] filterColumns, &lt;span class="kwrd"&gt;string&lt;/span&gt;[] filterValues, &lt;span class="kwrd"&gt;string&lt;/span&gt;[] ColumnList)        &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;RetrieveMultipleResponse retrieved = &lt;span class="kwrd"&gt;new&lt;/span&gt; RetrieveMultipleResponse();&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span class="kwrd" style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;try&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span class="rem" style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;/// Create the query object.&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;QueryByAttribute query = &lt;span class="kwrd"&gt;new&lt;/span&gt; QueryByAttribute();&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;query.EntityName = entityName.Trim().ToLower();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="kwrd"&gt;if&lt;/span&gt; (ColumnList == &lt;span class="kwrd"&gt;null&lt;/span&gt;)&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;query.ColumnSet = &lt;span class="kwrd"&gt;new&lt;/span&gt; AllColumns();&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="kwrd" style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;else&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;ColumnSet columns = &lt;span class="kwrd"&gt;new&lt;/span&gt; ColumnSet();&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;columns.Attributes = ColumnList;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;query.ColumnSet = columns;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;query.Attributes = filterColumns;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;query.Values = filterValues;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;RetrieveMultipleRequest retrieve = &lt;span class="kwrd"&gt;new&lt;/span&gt; RetrieveMultipleRequest();&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;retrieve.Query = query;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;retrieve.ReturnDynamicEntities = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;retrieved = (RetrieveMultipleResponse)Service.Execute(retrieve);&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="kwrd"&gt;if&lt;/span&gt; (retrieved != &lt;span class="kwrd"&gt;null&lt;/span&gt;)&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="kwrd"&gt;return&lt;/span&gt; retrieved.BusinessEntityCollection;                &lt;span class="kwrd"&gt;return&lt;/span&gt; &lt;span class="kwrd"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="preproc"&gt;#region&lt;/span&gt; Exception Handling&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="kwrd"&gt;catch&lt;/span&gt; (System.Web.Services.Protocols.SoapException ex)&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="kwrd"&gt;throw&lt;/span&gt; &lt;span class="kwrd"&gt;new&lt;/span&gt; Exception(ex.Detail.InnerText);&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="kwrd"&gt;catch&lt;/span&gt; (Exception ex)&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="kwrd"&gt;throw&lt;/span&gt; &lt;span class="kwrd"&gt;new&lt;/span&gt; Exception(ex.Message);&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="preproc"&gt;#endregion&lt;/span&gt; Exception Handling&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-6991388096781736637?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/6991388096781736637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=6991388096781736637' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/6991388096781736637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/6991388096781736637'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/04/retrieve-multiple-dynamic-entity.html' title='Retrieve Multiple Dynamic Entity Records Example'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-7913091249506676120</id><published>2009-04-10T07:19:00.000-07:00</published><updated>2009-04-10T07:23:57.185-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workflows'/><title type='text'>Get detailed error of Waiting Workflows</title><content type='html'>&lt;p style="font-family: verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="font-family: verdana;"&gt;&lt;span style="font-size:85%;"&gt;If an error occoured during the Workflow execution, and you want to see the detailed error of waiting workflow you just need to simply follow the below steps:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;ul style="font-family: verdana;"&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;In the web client goto the 'System jobs' in the settings area  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Click "Advanced find"  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Click "Edit Columns"  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Click "Add Columns"  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Select the columns "Error Code" and "Message"  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Click "OK" twice  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Click "Find" this will execute the query and bring up the workflows which  have executed. If the workflow ran into an error the error code and message  column will contain details.&lt;br /&gt;&lt;br /&gt;Note that in case of an exception the message  is the same as that logged in the trace files (if enabled) &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="font-size:85%;"&gt;You can save this query, this will make it available in the View list.&lt;/span&gt;&lt;/p&gt;&lt;p style="font-family: verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-7913091249506676120?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/7913091249506676120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=7913091249506676120' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7913091249506676120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7913091249506676120'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/04/get-detailed-error-of-waiting-workflows.html' title='Get detailed error of Waiting Workflows'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-1355992040658395623</id><published>2009-03-26T01:35:00.000-07:00</published><updated>2009-03-26T01:46:41.178-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM'/><title type='text'>Unable to Create / Update record for Business Closure.</title><content type='html'>&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;First, you have to assign the below role (Update Business Closures) to the user.&lt;br /&gt;&lt;/span&gt;&lt;a href="http://3.bp.blogspot.com/_pXTiQIAxyVU/Scs--X2cnnI/AAAAAAAAACw/KPlzSksSEtA/s1600-h/UpdateBusinessClosures.jpg"&gt;&lt;/a&gt;&lt;a href="http://4.bp.blogspot.com/_pXTiQIAxyVU/Scs_suqsfZI/AAAAAAAAADA/HpgFGoaRNlI/s1600-h/UpdateBusinessClosures.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5317413822714903954" style="WIDTH: 295px; CURSOR: hand; HEIGHT: 20px" alt="" src="http://4.bp.blogspot.com/_pXTiQIAxyVU/Scs_suqsfZI/AAAAAAAAADA/HpgFGoaRNlI/s400/UpdateBusinessClosures.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Second, you have to assign another set of roles to the user: &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Go to Service Management tab -&gt; assign Calender entities (Create, Read, Write) roles.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_pXTiQIAxyVU/Scs_dnKgzsI/AAAAAAAAAC4/FjOPnxc3qQg/s1600-h/Calender_CRW_Roles.jpg"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5317413563002834626" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 129px" alt="" src="http://4.bp.blogspot.com/_pXTiQIAxyVU/Scs_dnKgzsI/AAAAAAAAAC4/FjOPnxc3qQg/s400/Calender_CRW_Roles.jpg" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Save and Close Roles record.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Refresh the Business Closures entity record page(&lt;/span&gt;&lt;a href="http://SERVER:PORT/Organisation_Name/tools/business/business.aspx?pid=02"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;http://SERVER:PORT/Organisation_Name/tools/business/business.aspx?pid=02&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Isn't it simple !!!!! &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-1355992040658395623?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/1355992040658395623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=1355992040658395623' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1355992040658395623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1355992040658395623'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/03/unable-to-create-update-record-for.html' title='Unable to Create / Update record for Business Closure.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_pXTiQIAxyVU/Scs_suqsfZI/AAAAAAAAADA/HpgFGoaRNlI/s72-c/UpdateBusinessClosures.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-7058603775311282746</id><published>2009-03-25T23:32:00.000-07:00</published><updated>2009-03-26T00:10:18.921-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workflows'/><title type='text'>Declaration of Custom Workflow Input / Output Parameters</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;Eveyone&lt;/span&gt; struggle to declare the Custom &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;workflow&lt;/span&gt; input / output parameters in the custom &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;workflow&lt;/span&gt; activity. So here is the solution for it.&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;The following sample shows how to use each of the types found in Microsoft Dynamics &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;CRM&lt;/span&gt;. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Input Parameter Declaration:  (&lt;/strong&gt;Click on the datatype to see the declaration&lt;strong&gt;)&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/declaration-of-custom-workflow-input-output-parameters#boolean"&gt;Boolean &lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/declaration-of-custom-workflow-input-output-parameters#datetime" target="_blank"&gt;DateTime&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/declaration-of-custom-workflow-input-output-parameters#decimal"&gt;Decimal&lt;/a&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/declaration-of-custom-workflow-input-output-parameters#float"&gt;Float&lt;/a&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/declaration-of-custom-workflow-input-output-parameters#lookup"&gt;Lookup&lt;/a&gt;&lt;/span&gt; &lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/declaration-of-custom-workflow-input-output-parameters#money"&gt;Money&lt;/a&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/declaration-of-custom-workflow-input-output-parameters#number"&gt;Number&lt;/a&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/declaration-of-custom-workflow-input-output-parameters#picklist"&gt;Picklist&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/declaration-of-custom-workflow-input-output-parameters#status"&gt;Status&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/declaration-of-custom-workflow-input-output-parameters#string"&gt;String&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Output Parameter Declaration: (&lt;/strong&gt;Click on the datatype to see the declaration&lt;strong&gt;)&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/declaration-of-custom-workflow-input-output-parameters#output_lookup"&gt;Lookup&lt;/a&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Hope this will help you in declaring the Custom workflow activity I/O parameters.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-7058603775311282746?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/7058603775311282746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=7058603775311282746' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7058603775311282746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7058603775311282746'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/03/custom-workflow-input-output-parameters.html' title='Declaration of Custom Workflow Input / Output Parameters'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-1018853803591170012</id><published>2009-03-25T23:25:00.000-07:00</published><updated>2009-03-25T23:27:35.480-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM Global Variable and Functions'/><title type='text'>Global Javascript Functions in MS CRM 4.0</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Global functions provide information about the client application and whether the user is working online.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;The following table shows the available global functions.&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;IsOnline&lt;/strong&gt; : Checks whether the client application for which this page is rendered is online or offline.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;IsOutlookClient&lt;/strong&gt; :Checks whether the form is shown on either Microsoft Dynamics CRM for Microsoft Office Outlook or Microsoft Dynamics CRM for Microsoft Office Outlook with Offline Access. &lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;IsOutlookLaptopClient&lt;/strong&gt; : Checks whether the form is shown on Microsoft Dynamics CRM for Outlook with Offline Access.&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;IsOutlookWorkstationClient&lt;/strong&gt; : Checks whether the form is shown on Microsoft Dynamics CRM for Outlook.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;GenerateAuthenticationHeader :&lt;/strong&gt; Returns a string that represents a correctly formed Microsoft Dynamics CRM authentication header used when making Web service calls with Microsoft Dynamics CRM Web services. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PrependOrgName :&lt;/strong&gt; Prepends the organization name to the specified path.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-1018853803591170012?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/1018853803591170012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=1018853803591170012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1018853803591170012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1018853803591170012'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/03/global-javascript-functions-in-ms-crm.html' title='Global Javascript Functions in MS CRM 4.0'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-229901550639289294</id><published>2009-03-25T23:20:00.000-07:00</published><updated>2009-03-25T23:25:32.173-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM Global Variable and Functions'/><title type='text'>Global Javascript Variables in MS CRM 4.0</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Global variables provide information about the Microsoft Dynamics &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;CRM&lt;/span&gt; deployment and options chose by the user. Below Global variables you can use in &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;ISV&lt;/span&gt;, Event Scripts of forms and across all &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;CRM&lt;/span&gt; Web Pages.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;&lt;strong&gt;The following table shows the available global variables.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;SERVER_URL&lt;/strong&gt; : Provides a string that represents the base server URL. When a user is offline, the SERVER_URL points to the local Microsoft Dynamics &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;CRM&lt;/span&gt; Web services.&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;USER_LANGUAGE_CODE&lt;/strong&gt; : Provides an &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;LCID&lt;/span&gt; value that represents the Microsoft Dynamics &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;CRM&lt;/span&gt; Language Pack that the user has selected.&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;ORG_LANGUAGE_CODE&lt;/strong&gt; : Provides an &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;LCID&lt;/span&gt; value that represents the Microsoft Dynamics &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;CRM&lt;/span&gt; Language Pack that is the base language for the organization.&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;ORG_UNIQUE_NAME &lt;/strong&gt;: Provides the unique text value of the organizations name.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;br /&gt;This script displays the values of these global variables.&lt;br /&gt;alert("SERVER_URL="+SERVER_URL );&lt;br /&gt;alert("USER_LANGUAGE_CODE="+USER_LANGUAGE_CODE);&lt;br /&gt;alert("ORG_LANGUAGE_CODE="+ORG_LANGUAGE_CODE);&lt;br /&gt;alert("ORG_UNIQUE_NAME="+ORG_UNIQUE_NAME);&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-229901550639289294?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/229901550639289294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=229901550639289294' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/229901550639289294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/229901550639289294'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/03/global-javascript-variables-in-ms-crm.html' title='Global Javascript Variables in MS CRM 4.0'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-8424956966203923563</id><published>2009-03-25T23:04:00.000-07:00</published><updated>2009-03-25T23:13:14.939-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM'/><title type='text'>There is an error in xml document (Row, column)</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Are you getting this error When Calling retrieve(), &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;retrieveMultiple&lt;/span&gt;() ..... and so on &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;CRM&lt;/span&gt; Methods ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The solution is very simple: &lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;remove the existing &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;CRM&lt;/span&gt; Web services and Add them again (CrmService, Discovery, Metadata).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Recompile and Run your application.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-8424956966203923563?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/8424956966203923563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=8424956966203923563' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8424956966203923563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8424956966203923563'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/03/there-is-error-in-xml-document-row.html' title='There is an error in xml document (Row, column)'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-928246676150856422</id><published>2009-02-18T04:33:00.000-08:00</published><updated>2009-03-02T06:11:59.661-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dynamic Entity'/><title type='text'>Get Dynamic Entity Primary Attribute Guid Example</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Example by CrmSdk&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;div class="csharpcode"&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; Guid GetDynamicEntityPrimaryAttributeGuid(DynamicEntity entity)&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    &lt;span class="kwrd"&gt;if&lt;/span&gt; (entity != &lt;span class="kwrd"&gt;null&lt;/span&gt;)&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    {&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;        &lt;span class="kwrd"&gt;string&lt;/span&gt; strPrimaryKeyAttributeName = entity.Name.ToLower() + &lt;span class="str"&gt;"id"&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;        &lt;span class="kwrd"&gt;return&lt;/span&gt; ((Microsoft.Crm.Sdk.Key)entity.Properties[strPrimaryKeyAttributeName]).Value;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    }&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    &lt;span class="kwrd"&gt;return&lt;/span&gt; Guid.Empty;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Example by Web Service&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; Guid GetDynamicEntityPrimaryAttributeGuid(DynamicEntity entity)&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;    &lt;span class="kwrd"&gt;if&lt;/span&gt; (entity != &lt;span class="kwrd"&gt;null&lt;/span&gt;)&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;    {&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;        &lt;span class="kwrd"&gt;string&lt;/span&gt; strPrimaryKeyAttributeName = entity.Name.ToLower() + &lt;span class="str"&gt;"id"&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;        &lt;span class="kwrd"&gt;for&lt;/span&gt; (&lt;span class="kwrd"&gt;int&lt;/span&gt; i = 0; i &amp;lt; entity.Properties.Length; i++)&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;        {&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;            &lt;span class="kwrd"&gt;if&lt;/span&gt; (entity.Properties[i].Name.ToLower() == strPrimaryKeyAttributeName)&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;            {&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;                KeyProperty property = (KeyProperty)entity.Properties[i];&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;                &lt;span class="kwrd"&gt;return&lt;/span&gt; property.Value.Value;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;            }&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;        }&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;    }&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;    &lt;span class="kwrd"&gt;return&lt;/span&gt; Guid.Empty;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-928246676150856422?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/928246676150856422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=928246676150856422' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/928246676150856422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/928246676150856422'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/02/get-dynamic-entity-primary-attribute.html' title='Get Dynamic Entity Primary Attribute Guid Example'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-8015597284212737010</id><published>2009-02-18T03:19:00.000-08:00</published><updated>2009-02-18T04:33:11.324-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dynamic Entity'/><title type='text'>Create Dynamic Entity Record Example</title><content type='html'>&lt;div class="csharpcode"&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;StringProperty firstname = &lt;span class="kwrd"&gt;new&lt;/span&gt; StringProperty();&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;firstname.Name = &lt;span class="str"&gt;"firstname"&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;firstname.Value = &lt;span class="str"&gt;"Ranjit"&lt;/span&gt;;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;StringProperty lastname = &lt;span class="kwrd"&gt;new&lt;/span&gt; StringProperty();&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;lastname.Name = &lt;span class="str"&gt;"lastname"&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;lastname.Value = &lt;span class="str"&gt;"Singh"&lt;/span&gt;;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="rem"   style="font-family:verdana;font-size:85%;"&gt;// Create the DynamicEntity object.&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;DynamicEntity contactEntity = &lt;span class="kwrd"&gt;new&lt;/span&gt; DynamicEntity();&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="rem"   style="font-family:verdana;font-size:85%;"&gt;// Set the name of the entity type.&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;contactEntity.Name = EntityName.contact.ToString();&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="rem"   style="font-family:verdana;font-size:85%;"&gt;// Set the properties of the contact.&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;contactEntity.Properties = &lt;span class="kwrd"&gt;new&lt;/span&gt; Property[] {firstname, lastname};&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="rem"   style="font-family:verdana;font-size:85%;"&gt;// Create the target.&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;TargetCreateDynamic targetCreate = &lt;span class="kwrd"&gt;new&lt;/span&gt; TargetCreateDynamic();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;targetCreate.Entity = contactEntity;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="rem"   style="font-family:verdana;font-size:85%;"&gt;// Create the request object.&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;CreateRequest create = &lt;span class="kwrd"&gt;new&lt;/span&gt; CreateRequest();&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="rem"   style="font-family:verdana;font-size:85%;"&gt;// Set the properties of the request object.&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;create.Target = targetCreate;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="rem"   style="font-family:verdana;font-size:85%;"&gt;// Execute the request.&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;CreateResponse created = (CreateResponse) service.Execute(create);&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-8015597284212737010?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/8015597284212737010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=8015597284212737010' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8015597284212737010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8015597284212737010'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/02/create-dynamic-entity-record.html' title='Create Dynamic Entity Record Example'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-631797122814975126</id><published>2009-02-16T01:07:00.000-08:00</published><updated>2009-02-18T03:29:08.617-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='FetchXml'/><title type='text'>Working with FetchXml()</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;Fetch is a proprietary query language that is used in Microsoft Dynamics CRM. It is based on a schema that describes the capabilities of the language. The FetchXML language supports similar query capabilities as query expression. It is used primarily as a serialized form of query expression, used to save a query as a user owned saved view in the userquery entity or as an organization owned view in the savedquery entity. A FetchXML query can be executed by using the Fetch method. There are also messages to convert between query expression and FetchXML.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;Generally, the RetrieveMultiple method performs faster than the Fetch method because it does not have to parse the query.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;Microsoft Dynamics CRM 4.0 supports a new attribute on the link-entity node called visible. Setting visible to false will hide the linked entity in the advanced find user interface. It will still participate in the execution of the query and will return the appropriate results.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;The following table lists the messages that work with the FetchXml language.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;ExecuteFetch -&gt; Executes a query.&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size:85%;"&gt;FetchXmlToQueryExpression -&gt; Converts from FetchXML to query expression.&lt;br /&gt;QueryExpressionToFetchXml -&gt; Converts from query expression to FetchXML.&lt;br /&gt;ValidateSavedQuery -&gt; Validates a saved query (view).&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;NOTE:&lt;br /&gt;&lt;/strong&gt;Notice that in either case, the privileges of the logged on user will affect the set of records returned. The Fetch method only retrieves records for which the logged on user has read access.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;By default FetchXml returns MAX of 5000 records.&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-631797122814975126?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/631797122814975126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=631797122814975126' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/631797122814975126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/631797122814975126'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/02/working-with-fetchxml.html' title='Working with FetchXml()'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-6346397029339082234</id><published>2009-02-16T00:54:00.000-08:00</published><updated>2009-02-16T01:01:08.085-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dynamic Entity'/><title type='text'>Dynamic Entity Add Attribute Helper Methods</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;Examples: Calling the below methods:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="csharpcode"&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;string&lt;/span&gt; strDaysAttributeName = &lt;span class="str"&gt;"cap_actualeffortdays"&lt;/span&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;string&lt;/span&gt; strHoursAttributeName = &lt;span class="str"&gt;"cap_actualefforthours"&lt;/span&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;if&lt;/span&gt; (ObjProject.Properties.Contains(strDaysAttributeName))&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    ((CrmNumber)ObjProject.Properties[strDaysAttributeName]).Value = iDays;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span class="kwrd"   style="font-family:verdana;font-size:85%;"&gt;else&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    CrmHelper.AddNumberProperty(ObjProject, strDaysAttributeName, iDays);&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;if&lt;/span&gt; (ObjProject.Properties.Contains(strHoursAttributeName))&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    ((CrmNumber)ObjProject.Properties[strHoursAttributeName]).Value = iHours;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span class="kwrd"   style="font-family:verdana;font-size:85%;"&gt;else&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    CrmHelper.AddNumberProperty(ObjProject, strHoursAttributeName, iHours);&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;static&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; AddStringProperty(DynamicEntity entity, &lt;span class="kwrd"&gt;string&lt;/span&gt; strColumnName, &lt;span class="kwrd"&gt;string&lt;/span&gt; DefaultValue)&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    &lt;span class="preproc"&gt;#region&lt;/span&gt; If Column attribute not &lt;span class="kwrd"&gt;in&lt;/span&gt; entity Collection&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;        &lt;span class="kwrd"&gt;if&lt;/span&gt; (!entity.Properties.Contains(strColumnName))&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;        {&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;            StringProperty AttributeContactID = &lt;span class="kwrd"&gt;new&lt;/span&gt; StringProperty();&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;            AttributeContactID.Name = strColumnName;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;            AttributeContactID.Value = DefaultValue;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;        }&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    &lt;span class="preproc"&gt;#endregion&lt;/span&gt; If Column attribute not &lt;span class="kwrd"&gt;in&lt;/span&gt; entity Collection&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;static&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; AddNumberProperty(DynamicEntity entity, &lt;span class="kwrd"&gt;string&lt;/span&gt; strColumnName, &lt;span class="kwrd"&gt;int&lt;/span&gt; DefaultValue)&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    &lt;span class="preproc"&gt;#region&lt;/span&gt; If Column attribute not &lt;span class="kwrd"&gt;in&lt;/span&gt; entity Collection&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;        &lt;span class="kwrd"&gt;if&lt;/span&gt; (!entity.Properties.Contains(strColumnName))&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;        {&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;            CrmNumberProperty AttributeID = &lt;span class="kwrd"&gt;new&lt;/span&gt; CrmNumberProperty();&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;            AttributeID.Name = strColumnName;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;            AttributeID.Value = &lt;span class="kwrd"&gt;new&lt;/span&gt; CrmNumber(DefaultValue);&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;        }&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    &lt;span class="preproc"&gt;#endregion&lt;/span&gt; If Column attribute not &lt;span class="kwrd"&gt;in&lt;/span&gt; entity Collection&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-6346397029339082234?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/6346397029339082234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=6346397029339082234' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/6346397029339082234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/6346397029339082234'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/02/dynamic-entity-add-attribute-helper.html' title='Dynamic Entity Add Attribute Helper Methods'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-6507615555167759463</id><published>2009-02-16T00:49:00.000-08:00</published><updated>2009-02-16T01:01:08.085-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dynamic Entity'/><title type='text'>Update Dynamic Entity Record Example</title><content type='html'>&lt;div class="csharpcode"&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;static&lt;/span&gt; &lt;span class="kwrd"&gt;bool&lt;/span&gt; UpdateDynamicEntity(ICrmService Service, DynamicEntity entityName)&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span class="kwrd"   style="font-family:verdana;font-size:85%;"&gt;try&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;    &lt;span class="rem"&gt;// Create the update target.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    TargetUpdateDynamic updateDynamic = &lt;span class="kwrd"&gt;new&lt;/span&gt; TargetUpdateDynamic(); &lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;    &lt;span class="rem"&gt;// Set the properties of the target.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    updateDynamic.Entity = entityName; &lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;    &lt;span class="rem"&gt;//   Create the update request object.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    UpdateRequest update = &lt;span class="kwrd"&gt;new&lt;/span&gt; UpdateRequest(); &lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;    &lt;span class="rem"&gt;//   Set request properties.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    update.Target = updateDynamic; &lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;    &lt;span class="rem"&gt;//   Execute the request.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    UpdateResponse updated = (UpdateResponse)Service.Execute(update);&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    &lt;span class="kwrd"&gt;return&lt;/span&gt; &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;catch&lt;/span&gt; (System.Web.Services.Protocols.SoapException ex)&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;{                &lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    &lt;span class="kwrd"&gt;return&lt;/span&gt; &lt;span class="kwrd"&gt;false&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;catch&lt;/span&gt; (Exception ex)&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;{                &lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    &lt;span class="kwrd"&gt;return&lt;/span&gt; &lt;span class="kwrd"&gt;false&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-6507615555167759463?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/6507615555167759463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=6507615555167759463' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/6507615555167759463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/6507615555167759463'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/02/update-dynamic-entity-record-example.html' title='Update Dynamic Entity Record Example'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-4234817796235277297</id><published>2009-02-16T00:25:00.000-08:00</published><updated>2010-12-05T22:06:48.964-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dynamic Entity'/><title type='text'>Retrieve Dynamic Entity Records Example</title><content type='html'>&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: 85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;DynamicEntity ObjProject = GetDynamicEntity(crmService, "new_timesheet", new Guid("{21CCFA77-FFF8-DD11-AE96-0003FFD751E0}"));&lt;/span&gt;&lt;br /&gt;&lt;div class="csharpcode"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;static&lt;/span&gt; DynamicEntity GetDynamicEntity(ICrmService crmService, &lt;span class="kwrd"&gt;string&lt;/span&gt; strEntityName, Guid EntityGuid)&lt;br /&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="kwrd"&gt;try&lt;br /&gt;&lt;/span&gt;            {&lt;br /&gt;&lt;span class="preproc"&gt;#region&lt;/span&gt; Retrieve Entity Record Dynamically&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="rem"&gt;// Create the retrieve target.&lt;br /&gt;&lt;/span&gt;                TargetRetrieveDynamic targetRetrieve = &lt;span class="kwrd"&gt;new&lt;/span&gt; TargetRetrieveDynamic();&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="rem"&gt;// Set the properties of the target.&lt;br /&gt;&lt;/span&gt;                targetRetrieve.EntityName = strEntityName;&lt;br /&gt;targetRetrieve.EntityId = EntityGuid;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="rem"&gt;// Create the request object.&lt;br /&gt;&lt;/span&gt;                RetrieveRequest retrieve = &lt;span class="kwrd"&gt;new&lt;/span&gt; RetrieveRequest();&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="rem"&gt;// Set the properties of the request object.&lt;br /&gt;&lt;/span&gt;                retrieve.Target = targetRetrieve;&lt;br /&gt;retrieve.ColumnSet = &lt;span class="kwrd"&gt;new&lt;/span&gt; AllColumns();&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="rem"&gt;// Indicate that the BusinessEntity should be retrieved as a DynamicEntity.&lt;br /&gt;&lt;/span&gt;                retrieve.ReturnDynamicEntities = &lt;span class="kwrd"&gt;true&lt;/span&gt;; &lt;/span&gt;&lt;/pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="rem"&gt;// Execute the request.&lt;br /&gt;&lt;/span&gt;                RetrieveResponse retrieved = (RetrieveResponse)crmService.Execute(retrieve);&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="rem"&gt;// Extract the DynamicEntity from the request.&lt;br /&gt;&lt;/span&gt;                DynamicEntity entity = (DynamicEntity)retrieved.BusinessEntity;&lt;br /&gt;&lt;span class="kwrd"&gt;return&lt;/span&gt; entity;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;span class="preproc"&gt;#endregion&lt;br /&gt;&lt;/span&gt;            }&lt;br /&gt;&lt;span class="kwrd"&gt;catch&lt;/span&gt; (System.Web.Services.Protocols.SoapException ex)&lt;br /&gt;{&lt;br /&gt;&lt;span class="kwrd"&gt;throw&lt;/span&gt; &lt;span class="kwrd"&gt;new&lt;/span&gt; System.Exception(ex.Detail.InnerText);&lt;br /&gt;}&lt;br /&gt;&lt;span class="kwrd"&gt;catch&lt;/span&gt; (Exception ex)&lt;br /&gt;{&lt;br /&gt;&lt;span class="kwrd"&gt;throw&lt;/span&gt; &lt;span class="kwrd"&gt;new&lt;/span&gt; System.Exception(ex.Message);&lt;br /&gt;}&lt;br /&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-4234817796235277297?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/4234817796235277297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=4234817796235277297' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/4234817796235277297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/4234817796235277297'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/02/retrieve-dynamic-entity-records-example.html' title='Retrieve Dynamic Entity Records Example'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-3924471362867594180</id><published>2009-02-15T23:49:00.000-08:00</published><updated>2009-02-16T00:24:48.202-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dynamic Entity'/><title type='text'>Working with Dynamic Entity</title><content type='html'>&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The DynamicEntity feature lets you generically access the data in any attribute on any entity in the system. In order to develop against the Microsoft CRM SDK, you must generate and consume a WSDL during code compilation. Because you must do this against a specific instance of the application, the only entities available are the core set included in the initial installation of Microsoft CRM. The WSDL does contain entity and attribute customizations but it is recommended that your code works with a clean installation. See Using the Microsoft CRM WebServices. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The DynamicEntity class is also used in plug-ins / callouts so that your callout code can work generically with any attribute on any entity without a re-compile.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The DynamicEntity class does not provide a name-base indexer, however, you can write your own. A simple approach to this problem is to loop through the dynamic entities property bag until you find the appropriate property.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-3924471362867594180?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/3924471362867594180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=3924471362867594180' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3924471362867594180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3924471362867594180'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/02/dynamic-entity.html' title='Working with Dynamic Entity'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-439914343753042879</id><published>2009-01-20T09:02:00.000-08:00</published><updated>2009-01-20T09:04:47.087-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM 4 Roll Ups'/><title type='text'>Update Rollup 2 for Microsoft Dynamics CRM 4.0 is available</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Microsoft has release update rollup 2for CRM 4. KB959419 can be downloaded &lt;/span&gt;&lt;a href="http://support.microsoft.com/default.aspx/kb/959419"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;This upate is for Microsoft Dynamics CRM 4.0 Server, Microsoft Dynamics CRM for Microsoft Office Outlook, and Microsoft Dynamics CRM 4.0 E-mail Router.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Please note that if you have customized Microsoft Dynamics CRM 4.0 Help files, back up your customized files before you install this update !!! &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-439914343753042879?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/439914343753042879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=439914343753042879' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/439914343753042879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/439914343753042879'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/01/update-rollup-2-for-microsoft-dynamics.html' title='Update Rollup 2 for Microsoft Dynamics CRM 4.0 is available'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-9086119073647626118</id><published>2009-01-19T09:08:00.000-08:00</published><updated>2009-01-19T09:14:41.694-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>Read and assign Owner attribute value to another owner attribute.</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;When it come to copying Owner attribute value aand assinging it to another owner attribute in CRM Form, its not just like a simple textbox value (where u can directly assing .DataValue property to the another attribute)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Have a look at the below code, which Reads and assign Owner attribute value to another owner attribute on CRM Form.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;// Get hold of Owner and default it to the Commission Owner 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;var oOwner = new Array();&lt;br /&gt;oOwner = null;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;oOwner = crmForm.all.ownerid.DataValue;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;//Create an array to set as the DataValue for the Owner control.&lt;br /&gt;var lookupData = new Array();&lt;br /&gt;var oCommissionOwnerOne = new Object();&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;if (oOwner[0] != null)&lt;br /&gt;{&lt;br /&gt;// Set the id, typename, and name properties to the object.&lt;br /&gt;oCommissionOwnerOne.id = oOwner[0].id;&lt;br /&gt;oCommissionOwnerOne.typename = oOwner[0].typename;&lt;br /&gt;oCommissionOwnerOne.name = oOwner[0].name;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;// Add the object to the array.&lt;br /&gt;lookupData[0] = oCommissionOwnerOne;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;// Set the value of the lookup field to the value of the array.&lt;br /&gt;crmForm.all.new_commissionmarginownerone.DataValue = lookupData;&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Happy copying (and Coding too) !!!!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-9086119073647626118?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/9086119073647626118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=9086119073647626118' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/9086119073647626118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/9086119073647626118'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/01/read-and-assign-owner-attribute-value.html' title='Read and assign Owner attribute value to another owner attribute.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-3369670303938237873</id><published>2009-01-10T04:33:00.000-08:00</published><updated>2009-01-15T09:27:12.692-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>Working with Form Fields using Javascript</title><content type='html'>&lt;p id="temp_br"&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;a href="http://sites.google.com/site/ranjitclub/properties-available-on-all-fields"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;Common Properties and Methods available with all Fields Type:&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt; &lt;/a&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/properties-available-on-all-fields#properties"&gt;Properties available on all types of fields in MS CRM.&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/properties-available-on-all-fields#methods"&gt;Methods available on all types of fields in MS CRM.&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;&lt;a href="http://sites.google.com/site/ranjitclub/working-with-datatypes-in-javascript"&gt;Working with All MS CRM Data types using Javascript:&lt;/a&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/working-with-datatypes-in-javascript#boolean"&gt;Boolean&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/working-with-datatypes-in-javascript#customer"&gt;Customer&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/working-with-datatypes-in-javascript#datetime"&gt;DateTime&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/working-with-datatypes-in-javascript#duration"&gt;Duration&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/working-with-datatypes-in-javascript#emailbody"&gt;Email Body&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/working-with-datatypes-in-javascript#float"&gt;Float&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/working-with-datatypes-in-javascript#integer"&gt;Integer&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/working-with-datatypes-in-javascript#lookup"&gt;Lookup&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/working-with-datatypes-in-javascript#memo"&gt;Memo&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/working-with-datatypes-in-javascript#owner"&gt;Owner&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/working-with-datatypes-in-javascript#picklist"&gt;Picklist&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/working-with-datatypes-in-javascript#partylist"&gt;PartyList&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/working-with-datatypes-in-javascript#regarding"&gt;Regarding&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://sites.google.com/site/ranjitclub/working-with-datatypes-in-javascript#string"&gt;String&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-3369670303938237873?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/3369670303938237873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=3369670303938237873' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3369670303938237873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3369670303938237873'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/01/working-with-form-fields-using.html' title='Working with Form Fields using Javascript'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-2169143018063717006</id><published>2009-01-09T11:49:00.000-08:00</published><updated>2009-01-09T11:56:09.614-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workflows'/><title type='text'>Supported Entities for Workflow</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The following entities can be used to start the messages that trigger the workflow execution. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;&lt;strong&gt;Entity name&lt;br /&gt;&lt;/strong&gt;1. account&lt;br /&gt;2. appointment&lt;br /&gt;3. businessunit&lt;br /&gt;4. campaign&lt;br /&gt;5. campaignactivity&lt;br /&gt;6. campaignresponse&lt;br /&gt;7. competitor&lt;br /&gt;8. constraintbasedgroup&lt;br /&gt;9. contact&lt;br /&gt;10. contract&lt;br /&gt;11. contractdetail&lt;br /&gt;12. contracttemplate&lt;br /&gt;13. customeraddress&lt;br /&gt;14. customeropportunityrole&lt;br /&gt;15. customerrelationship&lt;br /&gt;16. discount&lt;br /&gt;17. discounttype&lt;br /&gt;18. email&lt;br /&gt;19. equipment&lt;br /&gt;20. fax&lt;br /&gt;21. incident&lt;br /&gt;22. invoice&lt;br /&gt;23. invoicedetail&lt;br /&gt;24. kbarticle&lt;br /&gt;25. kbarticlecomment&lt;br /&gt;26. kbarticletemplate&lt;br /&gt;27. lead&lt;br /&gt;28. letter&lt;br /&gt;29. list&lt;br /&gt;30. mailmergetemplate&lt;br /&gt;31. opportunity&lt;br /&gt;32. opportunityproduct&lt;br /&gt;33. phonecall&lt;br /&gt;34. pricelevel&lt;br /&gt;35. product&lt;br /&gt;36. productpricelevel&lt;br /&gt;37. queue&lt;br /&gt;38. quote&lt;br /&gt;39. quotedetail&lt;br /&gt;40. relationshiprole&lt;br /&gt;41. report&lt;br /&gt;42. salesliterature&lt;br /&gt;43. salesliteratureitem&lt;br /&gt;44. salesorder&lt;br /&gt;45. salesorderdetail&lt;br /&gt;46. service&lt;br /&gt;47. serviceappointment&lt;br /&gt;48. site&lt;br /&gt;49. subject&lt;br /&gt;50. systemuser&lt;br /&gt;51. task&lt;br /&gt;52. team&lt;br /&gt;53. template&lt;br /&gt;54. territory&lt;br /&gt;55. transactioncurrency&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-2169143018063717006?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/2169143018063717006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=2169143018063717006' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2169143018063717006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2169143018063717006'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2009/01/supported-entities-for-workflow.html' title='Supported Entities for Workflow'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-5139705523246407301</id><published>2008-12-17T23:28:00.000-08:00</published><updated>2008-12-17T23:33:12.307-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM'/><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM 5 Features'/><title type='text'>MS CRM 5 – Secure Code on the Server - OnLive</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://blogs.msdn.com/benriga/archive/2008/12/16/crm-5-secure-code-on-the-server.aspx"&gt;Click here to watch the Video&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;In this one we chat about how to write custom code in Dynamics CRM and have that run securely in the various deployment models available including on-premises, partner-hosted and even in CRM Online.&lt;br /&gt;&lt;br /&gt;The current version of CRM allows code on the server (for plug-ins or workflows) and that code runs in full trust.  That’s the primary reason why server code is not allowed on Dynamics CRM Online where you’re sharing the server with many other tenants.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;There are a number of different areas where you might need to write custom code on the server; for instance, custom workflows, custom web apps, plug-ins.  It’s not hard to allow that sort of thing.  Where it gets tricky is allowing developers to do that in ways that don’t compromise security and performance.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-5139705523246407301?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/5139705523246407301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=5139705523246407301' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5139705523246407301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5139705523246407301'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/12/ms-crm-5-secure-code-on-server-onlive.html' title='MS CRM 5 – Secure Code on the Server - OnLive'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-7675239205483241403</id><published>2008-12-17T23:25:00.000-08:00</published><updated>2009-03-02T06:14:21.923-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM'/><title type='text'>List Web Part for Microsoft Dynamics CRM 4.0</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Overview&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The List Web Part for Microsoft Dynamics CRM 4.0 provides a way to view and update Microsoft Dynamics CRM records using a Windows SharePoint Services 3.0 SP1 or Microsoft Office SharePoint Server 2007 SP1 Web site. Microsoft Dynamics CRM users can create shared or personal List Web Parts of Microsoft Dynamics CRM records from a SharePoint Web site, open records in Microsoft Dynamics CRM 4.0 from the List Web Part, and create connected List Web Parts.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;You can download it from Microsoft website. &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3b6eb884-ec15-4288-a2a3-d0b47e057458&amp;amp;DisplayLang=en"&gt;Click here to download&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-7675239205483241403?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/7675239205483241403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=7675239205483241403' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7675239205483241403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/7675239205483241403'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/12/list-web-part-for-microsoft-dynamics.html' title='List Web Part for Microsoft Dynamics CRM 4.0'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-5708968586305143607</id><published>2008-12-09T22:22:00.000-08:00</published><updated>2008-12-11T22:02:21.749-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Deployment Service'/><title type='text'>Using New CrmDeploymentService CRM 4.0.</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;We have a new webservice in CRM 4.0 i.e. CrmDeploymentService&lt;br /&gt;&lt;/strong&gt;This is the end-point for this web service&lt;br /&gt;&lt;a href="http://%3cservername[:port]%3e/mscrmservices/2007/crmdeploymentservice.asmx"&gt;http://&lt;servername[:port]&gt;/mscrmservices/2007/crmdeploymentservice.asmx&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/servername[:port]&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Using CrmDeploymentService we can do the following:&lt;br /&gt;Create/Delete/Disable/Enable/Update/Set Default an organization etc.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;There are two types of Microsoft Dynamics CRM deployment entities: Organization and Server. The Deployment SDK provides programmatic access for manipulating the Organization entity. It does not currently enable you to write code against the Server entity for actions such as enabling and disabling a Microsoft Dynamics CRM server.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;We have a separate sdk for the Deployement. We can download the sdk at the following location&lt;br /&gt;&lt;/span&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=2874D878-E28D-4530-A185-4DEE1FCDD12E&amp;amp;displaylang=en"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=2874D878-E28D-4530-A185-4DEE1FCDD12E&amp;amp;displaylang=en&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;When working with the Deployment SDK, you should be familiar with software development practices in general and Microsoft Visual C# or Microsoft Visual Basic coding practices in particular. In addition, you should be familiar with using Web services and have access to a suitable development environment. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;When using the Deployment SDK, it is helpful to have the Microsoft Dynamics CRM 4.0 Software Development Kit (SDK) available as a reference.&lt;br /&gt;&lt;br /&gt;The Microsoft Dynamics CRM 4.0 SDK is the primary development resource for Microsoft Dynamics CRM 4.0 and is a guide for developers writing server-side code, custom business logic, plug-ins, integration modules, custom workflow modules, and more. The SDK provides an architectural overview of Microsoft Dynamics CRM, the entity model, security model, Web services, and sample code.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Some basic examples of using the service&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span class="rem"&gt;&lt;strong&gt;// Create an instance of CrmDeploymentService&lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;CrmDeploymentService myDeployService = &lt;span class="kwrd"&gt;new&lt;/span&gt; CrmDeploymentService(); &lt;/pre&gt;&lt;pre class="alt"&gt;myDeployService.Credentials = System.Net.CredentialCache.DefaultCredentials; &lt;/pre&gt;&lt;pre class="alt"&gt;myDeployService.Url = ” valid url”;&lt;/pre&gt;&lt;pre&gt; &lt;/pre&gt;&lt;pre&gt;&lt;span class="rem"&gt;&lt;strong&gt;// To retrieve server license type information &lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;RetrieveLicenseRequest myLicRequest = &lt;span class="kwrd"&gt;new&lt;/span&gt; RetrieveLicenseRequest();&lt;/pre&gt;&lt;pre class="alt"&gt;RetrieveLicenseResponse myLicResponse = (RetrieveLicenseResponse)myDeployService.Execute(myLicRequest);&lt;/pre&gt;&lt;pre class="alt"&gt;MessageBox.Show(“License Type “ + myLicResponse.LicenseType.ToString());&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;&lt;span class="rem"&gt;&lt;strong&gt;// To get the organization information&lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;RetrieveAllRequest myRetriveAllRequest = &lt;span class="kwrd"&gt;new&lt;/span&gt; RetrieveAllRequest();&lt;/pre&gt;&lt;pre&gt;&lt;span class="rem"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt; &lt;/pre&gt;&lt;pre&gt;&lt;span class="rem"&gt;&lt;strong&gt;// only organization is supported ( other is Server)&lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;myRetriveAllRequest.EntityName = EntityName.Organization;&lt;/pre&gt;&lt;pre&gt;RetrieveAllResponse myRetriveAllResponse = (RetrieveAllResponse)myDeployService.Execute(myRetriveAllRequest);&lt;/pre&gt;&lt;pre&gt;&lt;span class="kwrd"&gt;&lt;/span&gt; &lt;/pre&gt;&lt;pre&gt;&lt;span class="kwrd"&gt;foreach&lt;/span&gt;(DeploymentEntity myEntity &lt;span class="kwrd"&gt;in&lt;/span&gt; myRetriveAllResponse.Entities)&lt;/pre&gt;&lt;pre&gt;{&lt;/pre&gt;&lt;pre&gt;Organization myOrganization = (Organization)myEntity;&lt;/pre&gt;&lt;pre&gt;MessageBox.Show(myOrganization.FriendlyName);&lt;/pre&gt;&lt;pre&gt;MessageBox.Show(myOrganization.Id.ToString()); &lt;/pre&gt;&lt;pre&gt;MessageBox.Show(myOrganization.UniqueName);&lt;/pre&gt;&lt;pre&gt;}&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="rem"&gt;&lt;strong&gt;//// To disable an organization&lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;SetStateOrganizationRequest myOrgSetStateRequest = &lt;span class="kwrd"&gt;new&lt;/span&gt; SetStateOrganizationRequest();&lt;/pre&gt;&lt;pre&gt;myOrgSetStateRequest.EntityName = EntityName.Organization;&lt;/pre&gt;&lt;pre&gt;myOrgSetStateRequest.Id = &lt;span class="kwrd"&gt;new&lt;/span&gt; Guid(“4c7fc991-0a41-dd11-bfd9-001d7d22e1af”);&lt;/pre&gt;&lt;pre&gt;myOrgSetStateRequest.State = OrganizationState.Disabled;&lt;/pre&gt;&lt;pre&gt;SetStateOrganizationResponse myOrgSetStateResponse =(SetStateOrganizationResponse) myDeployService.Execute(myOrgSetStateRequest);&lt;/pre&gt;&lt;pre&gt; &lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-5708968586305143607?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/5708968586305143607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=5708968586305143607' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5708968586305143607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5708968586305143607'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/12/using-new-crmdeploymentservice-crm-40.html' title='Using New CrmDeploymentService CRM 4.0.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-602982578726383101</id><published>2008-12-08T21:37:00.000-08:00</published><updated>2008-12-11T22:02:55.565-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM'/><title type='text'>Error message when you log on to any organization in Microsoft Dynamics CRM 4.0: "The specified organization is disabled"</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Consider the following scenario. You create two organizations in Microsoft Dynamics CRM 4.0. Then, you disable the default organization. In this scenario, when you log on to any organization in Microsoft Dynamics CRM, you receive the following error message:&lt;br /&gt;&lt;strong&gt;Error: The specified organization is disabled&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;This problem occurs because a valid default organization does not exist in Microsoft Dynamics CRM. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;To resolve this problem, use one of the following methods.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Method 1: Enable the default organization&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;Start -&gt; Programs -&gt; Microsoft Dynamics CRM -&gt; Deployment Manager.&lt;br /&gt;Click Organizations, right-click the default organization, and then click Enable.&lt;br /&gt;Reset Internet Information Services (IIS). To do this, Start -&gt; Run, type iisreset, and then click OK.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Method 2: Set another organization as the default organization&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Start -&gt; Programs -&gt; Microsoft Dynamics CRM -&gt; Deployment Manager. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Click Organizations, right-click an organization, and then click Set as Default Organization.&lt;br /&gt;Reset Internet Information Services (IIS). To do this, Start -&gt; Run, type iisreset, and then click OK. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-602982578726383101?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/602982578726383101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=602982578726383101' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/602982578726383101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/602982578726383101'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/12/error-message-when-you-log-on-to-any.html' title='Error message when you log on to any organization in Microsoft Dynamics CRM 4.0: &quot;The specified organization is disabled&quot;'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-2101646263703039428</id><published>2008-12-03T23:41:00.000-08:00</published><updated>2009-01-20T09:01:10.804-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM 4 Roll Ups'/><title type='text'>RollUp 1 release for MS CRM 4.0</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Microsoft has release rollup 1 for CRM 4. KB952858 can be downloaded &lt;/span&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=57c6267b-3b13-49dd-bfed-3cc83633aea7&amp;amp;DisplayLang=en"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;This upate is for Microsoft Dynamics CRM 4.0 Server, Microsoft Dynamics CRM for Microsoft Office Outlook, and Microsoft Dynamics CRM 4.0 E-mail Router.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Please note that if you have customized &lt;strong&gt;Microsoft Dynamics CRM 4.0 Help files&lt;/strong&gt;, back up your customized files before you install this update !!! &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-2101646263703039428?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/2101646263703039428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=2101646263703039428' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2101646263703039428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/2101646263703039428'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/12/rollup-1-release-for-ms-crm-40.html' title='RollUp 1 release for MS CRM 4.0'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-8078352365878390328</id><published>2008-12-03T23:11:00.000-08:00</published><updated>2009-07-01T00:23:55.828-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM'/><title type='text'>MS CRM 4.0 upgrade issues list.</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;When upgrading MS CRM 3.0 to CRM 4.0, please follow the below chekclist to avoid failures:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;1. Any Un supported customization will not upgrade&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;2. Any 3rd party tool will not upgrade like C360 components etc. It will give you trouble so first remove that and check your vendor for upgradeable version for CRM 4.0, I am sure they are upgrading it.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;3. Any Connector like GP Connector, Biztalk Adapter will not upgrade&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;4. CRM Mobile Express 3.0 will not upgrade&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;5. CRM Accelerator for Seible will not supported to upgrade.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;6. Sharepoint list webpart will not upgrade&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;7. Datamigration Pack will not upgrade&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;8. Your custom calls or code will not upgrade, you have to rebuild your code using new crm services, atleast you have to use crm discovery as it is multi-organizational system.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;9. CRM Outlook Client will not upgrade&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;10. Any custom code for outlook will not upgrade&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;11. CRM Callouts need to modify and register with Plugin Register tool&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;12. Your code web to lead or web to contact need to modify by using CRM Discovery Service and updation manually&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;13. Any Code will not upgrade by MS CRM 4.0, you have to do all configuration manually.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;14. Assembly written for workflow will not upgrade and link, you have to again link with it&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;Standard CRM Reports will be upgraded and link will automatically build with new CRM SRS connection. but following types of reports will not upgrade&lt;/span&gt;&lt;/p&gt;&lt;ul  style="font-family:verdana;"&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The Reports has been modified to use expressions for linking will not upgrade.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The Report has been modified to use stored procedures will not upgrade.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Reports that use information about workflow, such as sales pipeline report etc will not upgrade.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;Happy MS CRM 4.0 Upgrade.&lt;/span&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-8078352365878390328?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/8078352365878390328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=8078352365878390328' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8078352365878390328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8078352365878390328'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/12/ms-crm-40-upgrade-issues-list.html' title='MS CRM 4.0 upgrade issues list.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-722758431261953195</id><published>2008-12-03T22:54:00.000-08:00</published><updated>2008-12-11T22:03:12.426-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM'/><title type='text'>Increase Attachment size in MS CRM 4.0</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;By default, MS &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;CRM&lt;/span&gt; 4.0 file attachment size is 5 MB. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Below are the steps to increase the default size to 10 MB.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;1. Open the web.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;config&lt;/span&gt; of MS &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;CRM&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;2. Locate &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;httpRuntime&lt;/span&gt; the key within the element and change the values to the following: &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;httpRuntime&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;executionTimeout&lt;/span&gt; = "9999" &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;maxRequestLength&lt;/span&gt; = "10240"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;3. Locate &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;httpRuntime&lt;/span&gt; the key within the element of the element, and change it to the following: &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;httpRuntime&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;maxRequestLength&lt;/span&gt; = "10240"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;save the web.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;config&lt;/span&gt; and restart &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;IIS&lt;/span&gt;.&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-722758431261953195?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/722758431261953195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=722758431261953195' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/722758431261953195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/722758431261953195'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/12/increase-attachment-size-in-ms-crm-40.html' title='Increase Attachment size in MS CRM 4.0'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-8040452840271638527</id><published>2008-11-22T05:22:00.000-08:00</published><updated>2008-12-11T22:03:43.223-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Integration'/><title type='text'>Integration of MS CRM (4.0) Online with SharePoint</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;Lot of people now a day’s talking about Integration of MS CRM (4.0) Online with SharePoint 2007.&lt;br /&gt;Before we start thinking of Integration of MS CRM (4.0) Online with SharePoint we should be aware of the below restrictions of MS CRM Online.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Restriction(s) of MS CRM Online 4.0 hosted by MSFT &lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;Plug-ins:&lt;br /&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Plug-ins allow you to augment the Microsoft Dynamics CRM business logic with your own code, for both online and offline applications. These extensions can also be used for integration to external systems. In the previous version, this feature was known as callouts.&lt;/span&gt;&lt;/p&gt;&lt;table border="1"&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="blue"&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Extensions&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td class="blue"&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;On-Premise&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td class="blue"&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Hosted&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td class="blue"&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Online&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Plug-ins&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Yes&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Partner specific&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;No&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;Workflow:&lt;br /&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Call out to external systems from your workflow rules. Create custom workflow activities that can be used by your workflow rules. In the previous version, this feature was known as workflow .NET assemblies.&lt;/span&gt;&lt;/p&gt;&lt;table border="1"&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="blue"&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Extensions&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td class="blue"&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;On-Premise&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td class="blue"&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Hosted&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td class="blue"&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Online&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Declarative workflows using workflow tools in Web application&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Yes&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Yes&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Yes&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Custom workflow activities (.NET Assemblies)&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Yes&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Partner specific&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;No&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;The Probable solution would be: &lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;1)&lt;/strong&gt; Use standard/OOB workflows of MS CRM 4.0 Online and send out an email messages with the formatted message in the message body with all (or required) Values (Inserted / Updated / and record GUID in case of Deletion).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2)&lt;/strong&gt; Add custom JavaScript in “OnSave()” event of the Entity, MS CRM forms where you can call out the web services (say using XmlHttpRequest / JSON) and there are chances that you will face the cross-domain Web service calls issues.&lt;br /&gt;&lt;br /&gt;You can overcome the issue by hosting the “Internet Facing Web Services on your server” but that should be available over internet so that you can communicate CRM with exposed Web Service Server.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;One more thing, I would like to share that “MS provides Partner Hosted Solutions”, you can go with it, but you have to pay (please correct me if I’m wrong), as it is paid service, I guess!!!!!&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-8040452840271638527?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/8040452840271638527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=8040452840271638527' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8040452840271638527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8040452840271638527'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/11/integration-of-ms-crm-40-online-with.html' title='Integration of MS CRM (4.0) Online with SharePoint'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-3193989538764862187</id><published>2008-11-22T05:09:00.000-08:00</published><updated>2008-12-17T23:33:27.455-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM 5 Features'/><title type='text'>What's New in MS CRM 5.0</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;This posting is provided "AS IS" with no warranties, and confers no rights.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;MS CRM 5.0 is currently on schedule to ship as part of the Office14 Wave (most likely sometime in 2010), and the team is only part way through the development cycle, having just completed Milestone 1 (M1). Even so, there is already much to get excited about. Here is a list of "features" that were discussed:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;New Features For End Users&lt;/strong&gt;&lt;br /&gt;1. Enhanced Navigation&lt;br /&gt;2. Single Page Forms&lt;br /&gt;3. Data Filtering&lt;br /&gt;4. In-line Visualizations&lt;br /&gt;5. Team Ownership&lt;br /&gt;6. Native SharePoint Integration&lt;br /&gt;7. Unstructured Relationships&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;New Features For Administrators&lt;/strong&gt;&lt;br /&gt;1. Flexible Form Layout&lt;br /&gt;2. Filtered Lookups&lt;br /&gt;3. Form Headers &amp;amp; Footers&lt;br /&gt;4. Solution Management&lt;br /&gt;5. Multiple Option Sets&lt;br /&gt;6. Drag &amp;amp; Drop Form Editor&lt;br /&gt;7. Audit&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;New Features For Developers&lt;/strong&gt;&lt;br /&gt;1. Custom Code Sandbox&lt;br /&gt;2. Plug-In Transaction Support&lt;br /&gt;3. Automatic Plug-In Profiling&lt;br /&gt;&lt;br /&gt;As you can see there is a lot to look forward to in CRM5, and I hope you are as excited as I am that the team has chosen to share this information early on.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Disclaimer&lt;/strong&gt;: These postings are provided "AS IS" with no warranties, and confers no rights. The content of this site are my own personal opinions and do not represent my employer's view in anyway. In addition, my thoughts and opinions often change, and as a weblog is intended to provide a semi-permanent, point in time snapshot, you should not consider out of date posts to reflect my current thoughts and opinions. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-3193989538764862187?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/3193989538764862187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=3193989538764862187' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3193989538764862187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3193989538764862187'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/11/whats-new-in-ms-crm-50.html' title='What&apos;s New in MS CRM 5.0'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-3301531131994156390</id><published>2008-11-15T19:05:00.000-08:00</published><updated>2008-12-11T22:03:55.982-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM'/><title type='text'>Assign Values to MS CRM attribute Types</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;Microsoft Dynamics CRM contains a set of attribute type classes used to define the attributes for each entity. These classes are specified in the following table.&lt;br /&gt;&lt;/span&gt;&lt;div class="csharpcode"&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Examples&lt;/span&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The following sample shows you how to instantiate and set the &lt;span class="kwrd"&gt;value&lt;/span&gt; of each data type.&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span class="rem"   style="font-family:verdana;font-size:85%;"&gt;// Set up the CRM Service.&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;CrmAuthenticationToken token = &lt;span class="kwrd"&gt;new&lt;/span&gt; CrmAuthenticationToken();&lt;br /&gt;token.AuthenticationType = 0;&lt;br /&gt;token.OrganizationName = &lt;span class="str"&gt;"AdventureWorksCycle"&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;CrmService service = &lt;span class="kwrd"&gt;new&lt;/span&gt; CrmService();&lt;br /&gt;service.Url = &lt;span class="str"&gt;""&lt;/span&gt;http:&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="rem"&gt;//&amp;lt;servername&amp;gt;:&amp;lt;port&amp;gt;/mscrmservices/2007/crmservice.asmx";&lt;br /&gt;&lt;/span&gt;service.CrmAuthenticationTokenValue = token;&lt;br /&gt;service.Credentials = System.Net.CredentialCache.DefaultCredentials;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;CrmBoolean boolean = &lt;span class="kwrd"&gt;new&lt;/span&gt; CrmBoolean();&lt;br /&gt;boolean.Value = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;CrmDateTime dateTime = &lt;span class="kwrd"&gt;new&lt;/span&gt; CrmDateTime();&lt;br /&gt;dateTime.Value = &lt;span class="str"&gt;"2006/5/27T17:00:00"&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;CrmDecimal dec = &lt;span class="kwrd"&gt;new&lt;/span&gt; CrmDecimal();&lt;br /&gt;dec.Value = (&lt;span class="kwrd"&gt;decimal&lt;/span&gt;)10.1;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;CrmFloat f = &lt;span class="kwrd"&gt;new&lt;/span&gt; CrmFloat();&lt;br /&gt;f.Value = (&lt;span class="kwrd"&gt;float&lt;/span&gt;)10.1;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;CrmMoney money = &lt;span class="kwrd"&gt;new&lt;/span&gt; CrmMoney();&lt;br /&gt;money.Value = (&lt;span class="kwrd"&gt;decimal&lt;/span&gt;)10.00;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;CrmNumber number = &lt;span class="kwrd"&gt;new&lt;/span&gt; CrmNumber();&lt;br /&gt;number.Value = 10;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Lookup lookup = &lt;span class="kwrd"&gt;new&lt;/span&gt; Lookup();&lt;br /&gt;lookup.Value = user.UserId;&lt;br /&gt;lookup.type = EntityName.systemuser.ToString();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt; &lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Owner owner = &lt;span class="kwrd"&gt;new&lt;/span&gt; Owner();&lt;br /&gt;owner.type = EntityName.systemuser.ToString();&lt;br /&gt;owner.Value = user.UserId;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Picklist list = &lt;span class="kwrd"&gt;new&lt;/span&gt; Picklist();&lt;br /&gt;list.Value = 1;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Status status = &lt;span class="kwrd"&gt;new&lt;/span&gt; Status();&lt;br /&gt;status.Value = 1;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;EntityNameReference reference = &lt;span class="kwrd"&gt;new&lt;/span&gt; EntityNameReference();&lt;br /&gt;reference.Value = EntityName.systemuser.ToString();&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Key key = &lt;span class="kwrd"&gt;new&lt;/span&gt; Key();&lt;br /&gt;key.Value = user.UserId;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-3301531131994156390?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/3301531131994156390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=3301531131994156390' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3301531131994156390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3301531131994156390'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/11/assign-values-to-ms-crm-attribute-types.html' title='Assign Values to MS CRM attribute Types'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-4584547091194743833</id><published>2008-10-10T08:00:00.000-07:00</published><updated>2008-12-11T22:04:13.227-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>Working with ASP.NET Request URL Properties.</title><content type='html'>&lt;table class="art_HtmlSectionBox" cellspacing="0" cellpadding="0" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;h2 class="art_HtmlSectionTitle"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Let assume below is the Web URL:&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;a href="http://localhost:5555/ISV/Customizations/Default.aspx?orgname=microsoftcrm"&gt;http://localhost:5555/ISV/Customizations/Default.aspx?orgname=microsoftcrm&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;table cellspacing="5" cellpadding="2" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align="middle" colspan="2"&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;HttpRequest path and URL properties:&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.ApplicationPath:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;/ISV&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.CurrentExecutionFilePath:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;/ISV/Customizations/Default.aspx&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.FilePath:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;/ISV/Customizations/Default.aspx&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.Path:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;/ISV/Customizations/Default.aspx&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.PathInfo:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.PhysicalApplicationPath:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;D:\Inetpub\wwwroot\ISV\Customizations\&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.QueryString:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;/ISV/Customizations/Default.aspx?orgname=microsoftcrm&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.Url.AbsolutePath:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;/ISV/Customizations/Default.aspx&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.Url.AbsoluteUri:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;a href="http://localhost:5555//ISV/Customizations/Default.aspx?orgname=microsoftcrm"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;http://localhost:5555/ISV/Customizations/Default.aspx?orgname=microsoftcrm&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.Url.Fragment:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.Url.Host:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;localhost&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.Url.Authority:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;localhost:5555&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.Url.LocalPath:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;/ISV/Customizations/Default.aspx&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.Url.PathAndQuery:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;/ISV/Customizations/Default.aspx?orgname=microsoftcrm&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.Url.Port:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;5555&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.Url.Query:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;?orgname=microsoftcrm&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.Url.Scheme:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;http&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Request.Url.Segments:&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;/ISV/Customizations/Default.aspx&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Hope this post is useful for all you !!!!&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/table&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-4584547091194743833?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/4584547091194743833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=4584547091194743833' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/4584547091194743833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/4584547091194743833'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/10/working-with-aspnet-request-url.html' title='Working with ASP.NET Request URL Properties.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-1567838940957336765</id><published>2008-09-24T11:30:00.000-07:00</published><updated>2008-12-11T22:04:35.676-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM'/><title type='text'>Check Number of notes attached to a Crm Record.</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Write below code on save of the entity.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;var CRM_FORM_TYPE_CREATE = 1;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;if&lt;/span&gt; (crmForm.FormType == CRM_FORM_TYPE_CREATE)&lt;/pre&gt;&lt;pre&gt;{&lt;/pre&gt;&lt;pre class="alt"&gt;    var obj=document.frames(”notescontrol”).document;&lt;/pre&gt;&lt;pre&gt;    var textarea=obj.getElementsByTagName(’TEXTAREA’);&lt;/pre&gt;&lt;pre class="alt"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;    &lt;span class="kwrd"&gt;if&lt;/span&gt; (textarea.length &amp;lt; 1)&lt;/pre&gt;&lt;pre class="alt"&gt;    {&lt;/pre&gt;&lt;pre&gt;        alert (”please eneter somenotes”);&lt;/pre&gt;&lt;pre class="alt"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;        &lt;span class="rem"&gt;// Cancel the save&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;        &lt;span class="kwrd"&gt;event&lt;/span&gt;.returnValue = &lt;span class="kwrd"&gt;false&lt;/span&gt;;&lt;/pre&gt;&lt;pre&gt;    }&lt;/pre&gt;&lt;pre class="alt"&gt;}&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-1567838940957336765?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/1567838940957336765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=1567838940957336765' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1567838940957336765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1567838940957336765'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/09/check-number-of-notes-attached-to-crm.html' title='Check Number of notes attached to a Crm Record.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-5552691692625983291</id><published>2008-09-24T11:26:00.000-07:00</published><updated>2009-11-17T01:50:51.061-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>CRM Form Types</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Is the user creating a new record? &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;crmForm.FormType == 1&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Is the user updating an existing record &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;crmForm.FormType ==2&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Is the user unable to update this record?&lt;br /&gt;&lt;strong&gt;crmForm.FormType == 3&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Is this record deactivated?&lt;br /&gt;&lt;strong&gt;crmForm.FormType == 4&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Is the user using the Quick Create form? &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;crmForm.FormType == 5&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Is the user using the Bulk Edit form? &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;crmForm.FormType == 6&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;What is the unique ID for this record?&lt;br /&gt;&lt;strong&gt;= crmForm.ObjectId&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;What type of record is this?&lt;br /&gt;&lt;strong&gt;= crmForm.ObjectTypeCode&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;What type of record is this (Entity Name)? &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;= crmForm.ObjectTypeName&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Is the user using the Outlook Client? &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;crmForm.IsForOutlookClient==true&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Is the user using the Outlook Light Client? &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;crmForm.IsForOutlookLightClient == true&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Is the user working On line? &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;crmForm.IsOnline==true&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Have any fields in this form been changed? &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;crmForm.IsDirty==true&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-5552691692625983291?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/5552691692625983291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=5552691692625983291' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5552691692625983291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5552691692625983291'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/09/crm-form-types.html' title='CRM Form Types'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-8239393826052945534</id><published>2008-09-24T05:28:00.001-07:00</published><updated>2011-01-06T04:35:41.893-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>Hide all Tabs on CRM Form</title><content type='html'>&lt;div class="csharpcode"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="rem" style="font-family: Verdana, sans-serif;"&gt;//Below is the javascript code, which will hide all tabs on CRM form.&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;document.getElementById(&lt;span class="str"&gt;"crmTabBar"&lt;/span&gt;).style.display = &lt;span class="str"&gt;"none"&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="rem" style="font-family: Verdana, sans-serif;"&gt;//If you want to hide a specific tab, use below code:&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;document.getElementById(&lt;span class="str"&gt;"tab0Tab"&lt;/span&gt;).style.display = &lt;span class="str"&gt;"none"&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="rem" style="font-family: Verdana, sans-serif;"&gt;//Here "tab0Tab" is first tab on the Crm Form.&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-8239393826052945534?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/8239393826052945534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=8239393826052945534' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8239393826052945534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/8239393826052945534'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/09/hide-all-tabs-on-crm-form.html' title='Hide all Tabs on CRM Form'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-910639220611152680</id><published>2008-09-23T01:49:00.000-07:00</published><updated>2008-09-30T07:37:43.353-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>How to attach onClose event to MS CRM Entity.</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;When you work with CRM Forms, if you want to capture / attach a onClose() Event, just use below &lt;strong&gt;javascript code.&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt; &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;window.onunload = function() {&lt;br /&gt;    &lt;span class="rem"&gt;//add code here&lt;br /&gt;&lt;/span&gt;} &lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-910639220611152680?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/910639220611152680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=910639220611152680' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/910639220611152680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/910639220611152680'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/09/how-attach-onclose-event-to-ms-crm.html' title='How to attach onClose event to MS CRM Entity.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-9192255037880823354</id><published>2008-09-23T01:39:00.000-07:00</published><updated>2008-09-30T07:50:18.263-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Associated Records'/><title type='text'>Delete / DisAssociate Many to Many Relationship Record.</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;When you say DisAssocaiating a Many to Many Relationship Record, then you usually deattach the record, you won't delete the record.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Below function will DisAssocaiate a record. Here, you need to pass three parameter values&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Parent Entity Guid, &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Child Entity Guid, and &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Relationship Name.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;bool&lt;/span&gt; DisassociateManyToManyEntityRecords(&lt;span class="kwrd"&gt;Moniker&lt;/span&gt; Moniker1, &lt;span class="kwrd"&gt;Moniker&lt;/span&gt; Moniker2, &lt;span class="kwrd"&gt;string&lt;/span&gt; strEntityRelationshipName)&lt;br /&gt;{&lt;br /&gt;    &lt;span class="kwrd"&gt;try&lt;br /&gt;&lt;/span&gt;    {&lt;br /&gt;        &lt;span class="rem"&gt;// Create a request.&lt;br /&gt;&lt;/span&gt;        DisassociateEntitiesRequest request = &lt;span class="kwrd"&gt;new&lt;/span&gt; DisassociateEntitiesRequest();&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;        &lt;span class="rem"&gt;// Assign the request a moniker for both entities that need to be disassociated.&lt;br /&gt;&lt;/span&gt;        request.Moniker1 = Moniker1;&lt;br /&gt;        request.Moniker2 = Moniker2;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;        &lt;span class="rem"&gt;// Set the relationship name that associates the two entities.&lt;br /&gt;&lt;/span&gt;        request.RelationshipName = strEntityRelationshipName.Trim();&lt;br /&gt; &lt;/pre&gt;&lt;pre class="alt"&gt;        &lt;span class="rem"&gt;// Execute the request.&lt;br /&gt;&lt;/span&gt;        DisassociateEntitiesResponse response = (DisassociateEntitiesResponse)Service.Execute(request);&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;        &lt;span class="kwrd"&gt;return&lt;/span&gt; &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;br /&gt;    } &lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;    &lt;span class="kwrd"&gt;catch&lt;/span&gt; (SoapException ex)&lt;br /&gt;    {&lt;br /&gt;        &lt;span class="kwrd"&gt;return&lt;/span&gt; &lt;span class="kwrd"&gt;false&lt;/span&gt;;&lt;br /&gt;    }&lt;br /&gt;} &lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-9192255037880823354?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/9192255037880823354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=9192255037880823354' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/9192255037880823354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/9192255037880823354'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/09/delete-disassociate-many-to-many.html' title='Delete / DisAssociate Many to Many Relationship Record.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-543495206986804950</id><published>2008-09-23T01:15:00.000-07:00</published><updated>2008-10-01T23:19:18.186-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Associated Records'/><title type='text'>Retrieve Associated Many to Many Relationship Records.</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;In our last post we have seen "Creating Records for Many to Many Relationship in MS CRM".&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Now how do you retrieve the (many to many) records ?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Its Very Easy .... :) I'm serious.... &lt;/span&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;See below function........&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Lets assume, we have "Hotel Reservation" and "Guest" Entity. We have many to many relationship between Guest and HotelReservation Entity. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Below function will return the list of Hotel Reservations (Guids) for the Guest.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; List GetAllAssocaitedRecords(Guid GuestGuid) &lt;/pre&gt;&lt;pre&gt;{ &lt;/pre&gt;&lt;pre class="alt"&gt;    &lt;span class="kwrd"&gt;string&lt;/span&gt; strEntityRelationshipName = &lt;span class="str"&gt;"Specify Relationship Name"&lt;/span&gt;;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="alt"&gt;    List ObjHotelReservationGuids = &lt;span class="kwrd"&gt;new&lt;/span&gt; List();&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="alt"&gt;    &lt;span class="kwrd"&gt;string&lt;/span&gt; fetchXml = &lt;span class="str"&gt;@"&amp;lt;fetch mapping="&lt;/span&gt;&lt;span class="str"&gt;"logical"&lt;/span&gt;&lt;span class="str"&gt;"&amp;gt; &amp;lt;entity name="&lt;/span&gt;&lt;span class="str"&gt;"@HotelReservationContactRelation"&lt;/span&gt;&lt;span class="str"&gt;"&amp;gt;&lt;/pre&gt;&lt;pre&gt;                            &amp;lt;all-attributes /&amp;gt;&lt;/pre&gt;&lt;pre class="alt"&gt;                            &amp;lt;filter&amp;gt;&lt;/pre&gt;&lt;pre&gt;                                &amp;lt;condition attribute="&lt;/span&gt;&lt;span class="str"&gt;"contactid"&lt;/span&gt;&lt;span class="str"&gt;" operator="&lt;/span&gt;&lt;span class="str"&gt;"eq"&lt;/span&gt;&lt;span class="str"&gt;" value ="&lt;/span&gt;&lt;span class="str"&gt;"@GuestGuid"&lt;/span&gt;&lt;span class="str"&gt;" /&amp;gt;&lt;/pre&gt;&lt;pre class="alt"&gt;                            &amp;lt;/filter&amp;gt;&lt;/pre&gt;&lt;pre&gt;                            &amp;lt;/entity&amp;gt;&lt;/pre&gt;&lt;pre class="alt"&gt;                        &amp;lt;/fetch&amp;gt;"&lt;/span&gt;;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="alt"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;    fetchXml = fetchXml.Replace(&lt;span class="str"&gt;"@GuestGuid"&lt;/span&gt;, GuestGuid.ToString());&lt;/pre&gt;&lt;pre class="alt"&gt;    fetchXml = fetchXml.Replace(&lt;span class="str"&gt;"@HotelReservationContactRelation"&lt;/span&gt;, strEntityRelationshipName );&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="alt"&gt;    &lt;span class="kwrd"&gt;string&lt;/span&gt; strResult = Service.Fetch(fetchXml);&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="alt"&gt;    XmlDocument xmlDoc = &lt;span class="kwrd"&gt;new&lt;/span&gt; XmlDocument(); xmlDoc.LoadXml(strResult);&lt;/pre&gt;&lt;pre&gt;    XmlNodeList nodeList = xmlDoc.SelectNodes(&lt;span class="str"&gt;"resultset/result"&lt;/span&gt;);&lt;/pre&gt;&lt;pre class="alt"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;    &lt;span class="kwrd"&gt;if&lt;/span&gt; (nodeList.Count &amp;gt; 0)&lt;/pre&gt;&lt;pre class="alt"&gt;    {&lt;/pre&gt;&lt;pre&gt;        &lt;span class="kwrd"&gt;foreach&lt;/span&gt; (XmlNode xmlNode &lt;span class="kwrd"&gt;in&lt;/span&gt; nodeList)&lt;/pre&gt;&lt;pre class="alt"&gt;        {&lt;/pre&gt;&lt;pre&gt;            ObjHotelReservationGuids.Add(&lt;span class="kwrd"&gt;new&lt;/span&gt; Guid(xmlNode.SelectSingleNode(&lt;span class="str"&gt;"neuguest_hotelreservationid"&lt;/span&gt;).InnerText));&lt;/pre&gt;&lt;pre class="alt"&gt;        }&lt;/pre&gt;&lt;pre&gt;    }&lt;/pre&gt;&lt;pre class="alt"&gt;    &lt;/pre&gt;&lt;pre&gt;    &lt;span class="kwrd"&gt;return&lt;/span&gt; ObjHotelReservationGuids;&lt;/pre&gt;&lt;pre class="alt"&gt;}&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Happy Coding !!!!!&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-543495206986804950?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/543495206986804950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=543495206986804950' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/543495206986804950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/543495206986804950'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/09/retrieve-associated-records-for-many-to.html' title='Retrieve Associated Many to Many Relationship Records.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-5491091854555294426</id><published>2008-09-11T02:49:00.000-07:00</published><updated>2008-10-01T23:11:44.892-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Associated Records'/><title type='text'>Creating Records for Many to Many Relationship in MS CRM</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Have you ever created Many to Many Relationship in MS CRM 4.0 ?&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Use AssociateEntitiesRequest Class (CrmService)&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Contains the data needed to add a link between two entity instances in a many-to-many relationship.&lt;br /&gt;When you create Many to Many Relationship between two entities (system / Custom), MS CRM 4.0 creates New Table in MS CRM database. The name would be the "Relationship name" which you specified while creating Many to Many relationship.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Now, how do u associate a record to Entities? &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Let's say, You have One "Entity: Contact" and other "Entity: New_CustomEntity". &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;Step 1: Create the record for first "Entity: Contact" (you will get a GUID for this record)&lt;br /&gt;&lt;br /&gt;Step 2: Create the record for Second "Entity: New_CustomEntity" (you will get a GUID for this record)&lt;br /&gt;&lt;br /&gt;Step 3: When you create Many to Many Relationship between two entities, you will specify "Relationship name" Eg: Contact_New_CustomEntity_ManyToMany&lt;br /&gt;&lt;br /&gt;Step 4: Call below method and pass both the Entity Information with Relationship name. For more info see below example.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="csharpcode"&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="rem"&gt;// Code Create Moniker for first Entity: Contact&lt;br /&gt;&lt;/span&gt;Moniker Moniker1 = &lt;span class="kwrd"&gt;new&lt;/span&gt; Moniker();&lt;br /&gt;Moniker1.Id = &lt;span class="kwrd"&gt;new&lt;/span&gt; Guid(&lt;span class="str"&gt;"SPECIFY GUID For the record"&lt;/span&gt;);&lt;br /&gt;Moniker1.Name = EntityName.contact.ToString(); &lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span class="rem"&gt;// Code Create Moniker for second Entity: New_CustomEntity&lt;br /&gt;&lt;/span&gt;Moniker Moniker2 = &lt;span class="kwrd"&gt;new&lt;/span&gt; Moniker();&lt;br /&gt;Moniker2.Id = &lt;span class="kwrd"&gt;new&lt;/span&gt; Guid(&lt;span class="str"&gt;"SPECIFY GUID For the record"&lt;/span&gt;);&lt;br /&gt;Moniker2.Name = EntityName.New_CustomEntity.ToString(); &lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;string&lt;/span&gt; strManyToManyRelationshipName = &lt;span class="str"&gt;"Contact_New_CustomEntity_ManyToMany"&lt;/span&gt;; &lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;if&lt;/span&gt; (ObjCrmHelper.AssociateManyToManyEntityRecords(Moniker1, Moniker2, strManyToManyRelationshipName))&lt;br /&gt;    MessageBox.Show(&lt;span class="str"&gt;"Associated Entities Record."&lt;/span&gt;);&lt;br /&gt;&lt;span class="kwrd"&gt;else&lt;/span&gt;&lt;br /&gt;    MessageBox.Show(&lt;span class="str"&gt;"Error Occoured."&lt;/span&gt;); &lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="rem"&gt;//Method which will associate the records.&lt;br /&gt;&lt;/span&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;bool&lt;/span&gt; AssociateManyToManyEntityRecords(Moniker Moniker1, Moniker Moniker2, &lt;span class="kwrd"&gt;string&lt;/span&gt; strEntityRelationshipName)&lt;br /&gt;{&lt;br /&gt;    &lt;span class="kwrd"&gt;try&lt;/span&gt;&lt;br /&gt;    {&lt;br /&gt;        &lt;span class="rem"&gt;// Create an AssociateEntities request.&lt;br /&gt;&lt;/span&gt;        AssociateEntitiesRequest request = &lt;span class="kwrd"&gt;new&lt;/span&gt; AssociateEntitiesRequest();&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;        &lt;span class="rem"&gt;// Set the ID of Moniker1 to the ID of the lead.&lt;br /&gt;&lt;/span&gt;        request.Moniker1 = Moniker1;  &lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;        &lt;span class="rem"&gt;// Set the ID of Moniker2 to the ID of the contact.&lt;br /&gt;&lt;/span&gt;        request.Moniker2 = Moniker2; &lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;        &lt;span class="rem"&gt;// Set the relationship name to associate on.&lt;br /&gt;&lt;/span&gt;        request.RelationshipName = strEntityRelationshipName;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;        &lt;span class="rem"&gt;// Execute the request.&lt;br /&gt;&lt;/span&gt;        Service.Execute(request); &lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;        &lt;span class="kwrd"&gt;return&lt;/span&gt; &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;br /&gt;    }  &lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;    &lt;span class="kwrd"&gt;catch&lt;/span&gt; (SoapException ex)&lt;br /&gt;    {&lt;br /&gt;        &lt;span class="kwrd"&gt;return&lt;/span&gt; &lt;span class="kwrd"&gt;false&lt;/span&gt;;&lt;br /&gt;    }&lt;/pre&gt;&lt;pre&gt;}&lt;/pre&gt;&lt;br /&gt;/******************/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Happy Coding !!!!!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-5491091854555294426?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/5491091854555294426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=5491091854555294426' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5491091854555294426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5491091854555294426'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/09/creating-records-for-many-to-many.html' title='Creating Records for Many to Many Relationship in MS CRM'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-3378019534681060978</id><published>2008-08-21T08:08:00.000-07:00</published><updated>2008-10-01T23:26:10.130-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Email'/><title type='text'>Create and Send Email Activity</title><content type='html'>&lt;div class="post-body entry-content"&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;color:#000000;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;color:#000000;"&gt;You can easily craete and send an email activity in MS CRM 3.0 / 4.0.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana;"&gt;If you experience "&lt;strong&gt;MS CRM 4.0: Generic SQL error 0x80044150&lt;/strong&gt;" error, &lt;/span&gt;&lt;span style="font-family:verdana;color:#000000;"&gt;Please enable the impersonation in the web.config:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Here is the simple code to Create and Send Email Activity:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;bool&lt;/span&gt; CreateAndSendEmail(Lookup EmailFrom, Lookup EmailTo, &lt;span class="kwrd"&gt;string&lt;/span&gt; EmailSubject, &lt;span class="kwrd"&gt;string&lt;/span&gt; EmailDescription, Lookup RegardingObject)&lt;/pre&gt;&lt;pre&gt;{&lt;/pre&gt;&lt;pre class="alt"&gt;    &lt;span class="kwrd"&gt;try&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;    {&lt;/pre&gt;&lt;pre class="alt"&gt;        &lt;span class="preproc"&gt;#region&lt;/span&gt; Create Email Object&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="alt"&gt;            email ObjEmail = &lt;span class="kwrd"&gt;new&lt;/span&gt; email();&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;span class="kwrd"&gt;if&lt;/span&gt;(EmailFrom != &lt;span class="kwrd"&gt;null&lt;/span&gt;)&lt;/pre&gt;&lt;pre&gt;            {&lt;/pre&gt;&lt;pre class="alt"&gt;                activityparty ObjFrom = &lt;span class="kwrd"&gt;new&lt;/span&gt; activityparty();&lt;/pre&gt;&lt;pre&gt;                ObjFrom.partyid = EmailFrom;&lt;/pre&gt;&lt;pre class="alt"&gt;                ObjEmail.from = &lt;span class="kwrd"&gt;new&lt;/span&gt; activityparty[] { ObjFrom };&lt;/pre&gt;&lt;pre&gt;            }&lt;/pre&gt;&lt;pre class="alt"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;            activityparty ObjTo = &lt;span class="kwrd"&gt;new&lt;/span&gt; activityparty();&lt;/pre&gt;&lt;pre class="alt"&gt;            ObjTo.partyid = EmailTo;&lt;/pre&gt;&lt;pre&gt;            ObjEmail.to = &lt;span class="kwrd"&gt;new&lt;/span&gt; activityparty[] { ObjTo };&lt;/pre&gt;&lt;pre class="alt"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;            &lt;span class="rem"&gt;// Assign Subject&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;            ObjEmail.subject = EmailSubject;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;span class="rem"&gt;// Assign Description&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;            ObjEmail.description = EmailDescription;&lt;/pre&gt;&lt;pre class="alt"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;            CrmSdk.CrmBoolean direction = &lt;span class="kwrd"&gt;new&lt;/span&gt; CrmSdk.CrmBoolean();&lt;/pre&gt;&lt;pre class="alt"&gt;            direction.Value = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/pre&gt;&lt;pre&gt;            ObjEmail.directioncode = direction;&lt;/pre&gt;&lt;pre class="alt"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;            &lt;span class="rem"&gt;//Regarding Case&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;span class="kwrd"&gt;if&lt;/span&gt;(RegardingObject != &lt;span class="kwrd"&gt;null&lt;/span&gt;)&lt;/pre&gt;&lt;pre&gt;                ObjEmail.regardingobjectid = RegardingObject;&lt;/pre&gt;&lt;pre class="alt"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;            &lt;span class="rem"&gt;//Create Email&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;span class="kwrd"&gt;try&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;            {&lt;/pre&gt;&lt;pre class="alt"&gt;                Guid EmailGuid = Service.Create(ObjEmail);&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="alt"&gt;                &lt;span class="rem"&gt;// Create a SendEmail request.&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;                SendEmailRequest emailRequest = &lt;span class="kwrd"&gt;new&lt;/span&gt; SendEmailRequest();&lt;/pre&gt;&lt;pre class="alt"&gt;                emailRequest.EmailId = EmailGuid;&lt;/pre&gt;&lt;pre&gt;                emailRequest.TrackingToken = &lt;span class="str"&gt;""&lt;/span&gt;;&lt;/pre&gt;&lt;pre class="alt"&gt;                emailRequest.IssueSend = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="alt"&gt;                &lt;span class="rem"&gt;// Send the email message.&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;                SendEmailResponse emailResponse = (SendEmailResponse)Service.Execute(emailRequest);&lt;/pre&gt;&lt;pre class="alt"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;                &lt;span class="kwrd"&gt;return&lt;/span&gt; &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/pre&gt;&lt;pre class="alt"&gt;            }&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;span class="kwrd"&gt;catch&lt;/span&gt; (SoapException)&lt;/pre&gt;&lt;pre&gt;            {&lt;/pre&gt;&lt;pre class="alt"&gt;                &lt;span class="kwrd"&gt;return&lt;/span&gt; &lt;span class="kwrd"&gt;false&lt;/span&gt;;&lt;/pre&gt;&lt;pre&gt;            } &lt;/pre&gt;&lt;pre class="alt"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;        &lt;span class="preproc"&gt;#endregion&lt;/span&gt; Create Email Object&lt;/pre&gt;&lt;pre class="alt"&gt;    }&lt;/pre&gt;&lt;pre&gt;    &lt;/pre&gt;&lt;pre class="alt"&gt;    &lt;span class="kwrd"&gt;catch&lt;/span&gt; (SoapException)&lt;/pre&gt;&lt;pre&gt;    {&lt;/pre&gt;&lt;pre class="alt"&gt;        &lt;span class="kwrd"&gt;return&lt;/span&gt; &lt;span class="kwrd"&gt;false&lt;/span&gt;;&lt;/pre&gt;&lt;pre&gt;    }&lt;/pre&gt;&lt;pre class="alt"&gt;}&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Hope you find this code helpful.&lt;br /&gt;Happy Coding.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-3378019534681060978?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/3378019534681060978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=3378019534681060978' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3378019534681060978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3378019534681060978'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/08/create-email-activity-and-sent.html' title='Create and Send Email Activity'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-5508056435929409221</id><published>2008-08-12T05:18:00.001-07:00</published><updated>2009-01-16T00:54:46.811-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM'/><title type='text'>Working with Null Values in MS CRM</title><content type='html'>&lt;a name="v4d0_sp2400c_assigningnullvalues"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;When you update an entity instance there is a mechanism you can use to differentiate the absence of a value from a null value. To set an attribute value to null you must set both IsNull and IsNullSpecified to true. For attributes of type String, you must assign the value to String.Empty. This same mechanism is used when you create a query to find a null value.&lt;br /&gt;&lt;br /&gt;Another option is to use the type helper code available in Microsoft.Crm.Sdk assembly and in the CRMHelpers classes.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The following code example shows you how to create null instances of the various Microsoft Dynamics CRM attribute types.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;CrmBoolean&lt;/span&gt; boolean = &lt;span class="kwrd"&gt;new&lt;/span&gt; &lt;span class="kwrd"&gt;CrmBoolean&lt;/span&gt;();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt;boolean.IsNull = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;boolean.IsNullSpecified = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;CrmDecimal&lt;/span&gt; dec = &lt;span class="kwrd"&gt;new&lt;/span&gt; &lt;span class="kwrd"&gt;CrmDecimal&lt;/span&gt;();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt;dec.IsNull = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;dec.IsNullSpecified = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;CrmFloat&lt;/span&gt; f = &lt;span class="kwrd"&gt;new&lt;/span&gt; &lt;span class="kwrd"&gt;CrmFloat&lt;/span&gt;();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt;f.IsNull = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;f.IsNullSpecified = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;CrmMoney&lt;/span&gt; money = &lt;span class="kwrd"&gt;new&lt;/span&gt; &lt;span class="kwrd"&gt;CrmMoney&lt;/span&gt;();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt;money.IsNull = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;money.IsNullSpecified = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;CrmNumber&lt;/span&gt; number = &lt;span class="kwrd"&gt;new&lt;/span&gt; &lt;span class="kwrd"&gt;CrmNumber&lt;/span&gt;();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt;number.IsNull = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;number.IsNullSpecified = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;Lookup&lt;/span&gt; lookup = &lt;span class="kwrd"&gt;new&lt;/span&gt; &lt;span class="kwrd"&gt;Lookup&lt;/span&gt;();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt;lookup.IsNull = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;lookup.IsNullSpecified = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;PickList&lt;/span&gt; list = &lt;span class="kwrd"&gt;new&lt;/span&gt; &lt;/span&gt;&lt;span class="kwrd"&gt;&lt;span style="font-size:85%;"&gt;PickList();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt;list.IsNull = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;list.IsNullSpecified = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;Status&lt;/span&gt; status = &lt;span class="kwrd"&gt;new&lt;/span&gt; &lt;/span&gt;&lt;span class="kwrd"&gt;&lt;span style="font-size:85%;"&gt;StatusV();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt;status.IsNull = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;status.IsNullSpecified = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;Owner&lt;/span&gt; owner = &lt;span class="kwrd"&gt;new&lt;/span&gt; &lt;span class="kwrd"&gt;Owner&lt;/span&gt;();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt;owner.IsNull = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;owner.IsNullSpecified = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The following code example shows you how to create null instances of the various Microsoft Dynamics CRM attribute types using the type helper classes.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;CrmBoolean&lt;/span&gt; boolean = CrmBoolean.Null;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;CrmDecimal&lt;/span&gt; dec = CrmDecimal.Null;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;CrmFloat&lt;/span&gt; flt = CrmFloat.Null;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;CrmMoney&lt;/span&gt; money = CrmMoney.Null;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;CrmNumber&lt;/span&gt; number = CrmNumber.Null;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;Lookup&lt;/span&gt; lookup = Lookup.Null;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;Picklist&lt;/span&gt; list = Picklist.Null;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;Status&lt;/span&gt; status = Status.Null;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="kwrd"&gt;Owner&lt;/span&gt; owner = Owner.Null;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;span class="kwrd"&gt;&lt;span class="kwrd"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-5508056435929409221?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/5508056435929409221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=5508056435929409221' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5508056435929409221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5508056435929409221'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/08/working-with-null-values-in-ms-crm.html' title='Working with Null Values in MS CRM'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-5838935958506281296</id><published>2008-08-12T01:35:00.000-07:00</published><updated>2010-08-26T02:37:05.124-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>Set Default Value to a Lookup Attribute using JavaScript</title><content type='html'>&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;Below Example will set the Default Primary Contact ID for Account Entity. &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;&lt;br /&gt;if(crmForm.all.primarycontactid.DataValue == null)&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;{&amp;nbsp;&lt;/span&gt;&lt;span class="rem" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;span class="rem" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Create an array to set as the DataValue for the lookup control.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var lookupData = &lt;span class="kwrd"&gt;new&lt;/span&gt; Array();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span class="rem" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Create an Object add to the array.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var lookupItem= &lt;span class="kwrd"&gt;new&lt;/span&gt; Object();&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span class="rem" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;strong&gt;       //Set the id, typename, and name properties to the object.&lt;/strong&gt;&lt;br /&gt;        &lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;lookupItem.id = &lt;span class="str"&gt;'SPECIFY GUID of an Entity'&lt;/span&gt;;&lt;br /&gt;        &lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;lookupItem.typename = &lt;span class="str"&gt;'SPECIFY Entity Name'&lt;/span&gt;;&lt;br /&gt;        &lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;lookupItem.name = &lt;span class="str"&gt;'SPECIFY Attribute DISPLAY Value'&lt;/span&gt;;&lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="rem" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;strong&gt;       // Add the object to the array.&lt;/strong&gt;&lt;br /&gt;          &lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;lookupData[0] = lookupItem;&lt;/span&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span class="rem" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;strong&gt;      // Set the value of the lookup field to the value of the array.&lt;/strong&gt;&lt;br /&gt;        &lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;crmForm.all.primarycontactid.DataValue = lookupData; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;strong&gt;} &lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-5838935958506281296?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/5838935958506281296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=5838935958506281296' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5838935958506281296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5838935958506281296'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/08/set-default-value-to-lookup-attribute.html' title='Set Default Value to a Lookup Attribute using JavaScript'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-5203415438897531780</id><published>2008-08-07T00:17:00.000-07:00</published><updated>2008-12-11T22:04:35.678-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM'/><title type='text'>Create Note and Assign to a Entity.</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Sample code which will create a note and attach to the specified Entity (Specify Entity Name and GUID of the Entity Record)&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;CrmService service = GetCrmService(&lt;span class="str"&gt;"http://192.168.150.221:5555"&lt;/span&gt;, &lt;span class="str"&gt;"ORGANIZATION"&lt;/span&gt;, &lt;span class="str"&gt;"USERNAME"&lt;/span&gt;, &lt;span class="str"&gt;"PASSWORD"&lt;/span&gt;, &lt;span class="str"&gt;"DOMAIN"&lt;/span&gt;);&lt;/pre&gt;&lt;pre&gt; &lt;/pre&gt;&lt;pre class="alt"&gt;annotation note = &lt;span class="kwrd"&gt;new&lt;/span&gt; annotation();&lt;/pre&gt;&lt;pre&gt; &lt;/pre&gt;&lt;pre class="alt"&gt;note.subject = &lt;span class="str"&gt;"NOTE SUBJECT"&lt;/span&gt;;&lt;/pre&gt;&lt;pre&gt;note.filename = &lt;span class="str"&gt;@"schema.xsd"&lt;/span&gt;;&lt;/pre&gt;&lt;pre class="alt"&gt;note.mimetype = &lt;span class="str"&gt;"text/html"&lt;/span&gt;;&lt;/pre&gt;&lt;pre&gt; &lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;string&lt;/span&gt; encodedData = &lt;span class="kwrd"&gt;string&lt;/span&gt;.Empty;&lt;/pre&gt;&lt;pre&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; (FileStream fs = &lt;span class="kwrd"&gt;new&lt;/span&gt; FileStream(&lt;span class="str"&gt;@"c:\schema.xsd"&lt;/span&gt;, FileMode.Open, FileAccess.Read))&lt;/pre&gt;&lt;pre class="alt"&gt;{&lt;/pre&gt;&lt;pre&gt;&lt;span class="kwrd"&gt;byte&lt;/span&gt;[] byteData = &lt;span class="kwrd"&gt;new&lt;/span&gt; &lt;span class="kwrd"&gt;byte&lt;/span&gt;[fs.Length];&lt;/pre&gt;&lt;pre class="alt"&gt;fs.Read(byteData, 0, byteData.Length);&lt;/pre&gt;&lt;pre&gt;encodedData = System.Convert.ToBase64String(byteData);&lt;/pre&gt;&lt;pre class="alt"&gt;}&lt;/pre&gt;&lt;pre&gt;note.documentbody = encodedData;&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;note.objectid = &lt;span class="kwrd"&gt;new&lt;/span&gt; Lookup();&lt;/pre&gt;&lt;pre class="alt"&gt;note.objectid.type = &lt;span class="str"&gt;"SPECIFY ENTITY_NAME"&lt;/span&gt;;&lt;/pre&gt;&lt;pre&gt;note.objectid.Value = &lt;span class="kwrd"&gt;new&lt;/span&gt; Guid(&lt;span class="str"&gt;"F27A627B-DF1A-DD11-AEA5-0003FF90FBC7"&lt;/span&gt;);&lt;/pre&gt;&lt;pre class="alt"&gt;note.objecttypecode = &lt;span class="kwrd"&gt;new&lt;/span&gt; EntityNameReference();&lt;/pre&gt;&lt;pre&gt;note.objecttypecode.Value = &lt;span class="str"&gt;"SPECIFY ENTITY_NAME"&lt;/span&gt;;&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;Guid annotationId = service.Create(note); &lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;---- HERE you can Initialize CRM SERVICE Object..... &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;static&lt;/span&gt; CrmService GetCrmService(&lt;span class="kwrd"&gt;string&lt;/span&gt; crmServerUrl, &lt;span class="kwrd"&gt;string&lt;/span&gt; organizationName, &lt;span class="kwrd"&gt;string&lt;/span&gt; userName, &lt;span class="kwrd"&gt;string&lt;/span&gt; password, &lt;span class="kwrd"&gt;string&lt;/span&gt; domain)&lt;/pre&gt;&lt;pre&gt;{&lt;/pre&gt;&lt;pre class="alt"&gt;    &lt;span class="rem"&gt;// Get the CRM Users appointments&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;    &lt;span class="rem"&gt;// Setup the Authentication Token&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;    CrmAuthenticationToken token = &lt;span class="kwrd"&gt;new&lt;/span&gt; CrmAuthenticationToken();&lt;/pre&gt;&lt;pre&gt;    token.OrganizationName = organizationName;&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;    CrmService service = &lt;span class="kwrd"&gt;new&lt;/span&gt; CrmService();&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;    &lt;span class="kwrd"&gt;if&lt;/span&gt; (crmServerUrl != &lt;span class="kwrd"&gt;null&lt;/span&gt; &amp;amp;&amp;amp;&lt;/pre&gt;&lt;pre class="alt"&gt;    crmServerUrl.Length &amp;gt; 0)&lt;/pre&gt;&lt;pre&gt;    {&lt;/pre&gt;&lt;pre class="alt"&gt;        UriBuilder builder = &lt;span class="kwrd"&gt;new&lt;/span&gt; UriBuilder(crmServerUrl);&lt;/pre&gt;&lt;pre&gt;        builder.Path = &lt;span class="str"&gt;"//MSCRMServices//2007//CrmService.asmx"&lt;/span&gt;;&lt;/pre&gt;&lt;pre class="alt"&gt;        service.Url = builder.Uri.ToString();&lt;/pre&gt;&lt;pre&gt;    }&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;    service.Credentials = &lt;span class="kwrd"&gt;new&lt;/span&gt; System.Net.NetworkCredential(userName, password, domain);&lt;/pre&gt;&lt;pre class="alt"&gt;    service.CrmAuthenticationTokenValue = token;&lt;/pre&gt;&lt;pre&gt; &lt;/pre&gt;&lt;pre class="alt"&gt;    &lt;span class="kwrd"&gt;return&lt;/span&gt; service;&lt;/pre&gt;&lt;pre&gt;}&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Happy Coding.... &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-5203415438897531780?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/5203415438897531780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=5203415438897531780' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5203415438897531780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/5203415438897531780'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/08/create-note-to-entity.html' title='Create Note and Assign to a Entity.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-1078007983061725950</id><published>2008-07-27T01:03:00.000-07:00</published><updated>2008-09-24T11:21:42.046-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WampServer'/><title type='text'>WampServer 2.0 Port Configuration</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Configure WampServer 2.0 on different (change port from 80 to 81)&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;I assume your server Configuration:&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Apache Version: 2.2.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;PHP Version: 5.2.6&lt;br /&gt;&lt;br /&gt;Now that you have WampServer 2.0 installed, you'll want to use it along side with other servers such as IIS. This is easily done by changing the port that WampServer 2.0 listens to. I suggest changing the port from 80 to 81.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Use Notepad or WordPad to open the files below.&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Open the httpd.conf file for the Apache server. On my machine, it's located here &lt;strong&gt;C:\wamp\bin\apache\apache2.2.8\conf\httpd.conf&lt;/strong&gt;&lt;br /&gt;Do a search for "Listen 80" and replace it with "Listen 81".&lt;br /&gt;Save and close the file.&lt;br /&gt;&lt;br /&gt;Open the wampmanager.tpl file. On my machine, it's located here: &lt;strong&gt;C:\wamp\wampmanager.tpl&lt;/strong&gt;&lt;br /&gt;Do a search for "http://localhost/" and replace it with "http://localhost:81/" (There are three total).&lt;br /&gt;Do a search for "${w_testPort80}" and replace it with "${w_testPort81}".&lt;br /&gt;Save and close the file.&lt;br /&gt;&lt;br /&gt;Open the testPort.php file. On my machine, it's located here: &lt;strong&gt;C:\wamp\scripts\testPort.php&lt;/strong&gt;&lt;br /&gt;Do a search for "80" and replace it with "81" (There are three total).&lt;br /&gt;Save and close the file.&lt;br /&gt;&lt;br /&gt;Open the english.lang file. On my machine, it's located here: &lt;strong&gt;C:\wamp\lang\english.lang&lt;/strong&gt;&lt;br /&gt;Do a search for "$w_testPort80 = 'Test Port 80';" and replace it with "$w_testPort81 = 'Test Port 81';".&lt;br /&gt;Save and close the file.&lt;br /&gt;&lt;br /&gt;Right click on the WampServer icon and click on "Exit".&lt;br /&gt;Restart your WampServer.&lt;br /&gt;&lt;br /&gt;Congratulations! You have now changed your WampServer 2.0 to port 81. All of your links (localhost, phpMyAdmin, SQLiteManager) are configured to the new port and you can even test port 81 by going to the Apache Services.&lt;br /&gt;If you found this helpful (or if you didn't), please &lt;/span&gt;&lt;a href="mailto:r.ranjeetsingh@gmail.com"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;let me know&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-1078007983061725950?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/1078007983061725950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=1078007983061725950' title='18 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1078007983061725950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/1078007983061725950'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/07/wampserver-20-port-configuration.html' title='WampServer 2.0 Port Configuration'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><thr:total>18</thr:total></entry><entry><id>tag:blogger.com,1999:blog-510541637695525564.post-3611267073386941905</id><published>2008-02-14T08:14:00.000-08:00</published><updated>2009-06-03T23:11:43.728-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS CRM Entity Schema'/><title type='text'>Generate MS CRM Entity Schema.</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Hi,&lt;br /&gt;"GenerateEntitySchema" tool generates a MS CRM Entity Schema.&lt;br /&gt;Example "account": it generates the schema for all the attributes including (picklist values).&lt;br /&gt;Have a look at this tool. (See screenshot) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_pXTiQIAxyVU/R7RtkPoJ2BI/AAAAAAAAABA/m8IZrsDuWEQ/s1600-h/GenerateEntitySchema.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5166875141938468882" style="" alt="" src="http://4.bp.blogspot.com/_pXTiQIAxyVU/R7RtkPoJ2BI/AAAAAAAAABA/m8IZrsDuWEQ/s400/GenerateEntitySchema.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;you can download Generate MS CRM Entity Schema from &lt;/span&gt;&lt;a href="http://www.codeplex.com/GenerateEntitySchema"&gt;&lt;span style="font-size:85%;"&gt;http://www.codeplex.com/GenerateEntitySchema&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;As I'm working on this tool i'll release the source code soon.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;All feedbacks are most welcome. !!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Happy MS CRM Development.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/510541637695525564-3611267073386941905?l=mscrm-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm-developer.blogspot.com/feeds/3611267073386941905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=510541637695525564&amp;postID=3611267073386941905' title='23 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3611267073386941905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/510541637695525564/posts/default/3611267073386941905'/><link rel='alternate' type='text/html' href='http://mscrm-developer.blogspot.com/2008/02/generate-ms-crm-entity-schema.html' title='Generate MS CRM Entity Schema.'/><author><name>Ranjitsingh Raghuwanshi - MS CRM  Techno-Functional Consultant.</name><uri>http://www.blogger.com/profile/09763872456151055238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_pXTiQIAxyVU/SXS1fVivaZI/AAAAAAAAACI/1jAq4fQxUlQ/S220/DSCN0612.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_pXTiQIAxyVU/R7RtkPoJ2BI/AAAAAAAAABA/m8IZrsDuWEQ/s72-c/GenerateEntitySchema.bmp' height='72' width='72'/><thr:total>23</thr:total></entry></feed>
