If you are working in a project where you need to open CRM entity record , you can use below function. first you need to get correct entity form URL to open it, you can refer http://msdn.microsoft.com/en-us/library/gg328483.aspx once you have entity form URL, you need record GUID to open it, let’s say we want to open a account record from silverlight… Read more »
I have seen this question in CRM development forum, where user asked how to set ‘Default Unit’ using javascript, so I wrote below function to do the same function SetDefaultUnit() { if(Xrm.Page.ui.getFormType() == 1) //Check form type { var number = 1; var filter = “/UoMScheduleSet?$select=Name,UoMScheduleId&$filter=Name eq ‘Default Unit’”; //Make sure you have created ‘Default Unit’ record RetrieveUnit(filter); } }… Read more »
In My silverlight webresourc I was consuming WCF component to fetch data from external database. when I deployed this webresource to CRM 2011, I got below error In order to solved this issue I placed crossdomain.xml and clientaccesspolicy.xml in root folder of my WCF component “C:inetpubwwwroot” you can refer http://msdn.microsoft.com/en-us/library/cc197955%28v=vs.95%29.aspx for more details on crossdomain and clientaccesspolicy xml. Hope it will help… Read more »
Today when I tried to open MS CRM 4.0 plugin registration tool in VS 2010, as usual it asked me upgrade the solution and when I opened after upgrade, after adding web reference I tried to build project and I got below error Error 1 The type or namespace name ‘Workflow’ does not exist in the namespace ‘System’ (are you… Read more »
In this post I am going to show, how easily we can integration bingmap in MS CRM 2011. I am going to create a html webresource which will show account’s city location on bing maps based on city address. Here are the steps to implement the same First steps is to get Bingmap developers key. Create an html page and… Read more »
check : http://mahenderpal.wordpress.com/ms-crm-2011-resources/
In my Adding Convert Email To Task in Email Ribbon MS CRM 2011 post I have explained how to create ribbon button to copy email into task, in this post I am providing code to create task entity record through rest from email. Enjoy !!!
When I was trying to create a menu in MS CRM 2011 ribbon and I set DisplayMode=”Default” for menuselection I got this error, and when I tried to search this error in I found http://msdn.microsoft.com/en-us/library/gg334378.aspx, According to SDK :- “You may get the following error “MenuSections can only have children of type MenuItem, Gallery or GroupPopup.” when viewing a Ribbon… Read more »
Today I saw one thread in CRM Development form to create a button in email ribbon to task from current email activity. So thought to create the same. In this post I am going to create a button in email ribbon to create task from email. you can use below code for the same <RibbonDiffXml> <CustomActions> <CustomAction Id=”EmailToTask” Location=”Mscrm.Form.email.MainTab.Convert.Controls._children”… Read more »
MS CRM 2011 provides us facility to create custom filtered lookup on the fly. So in this post I am going to explain how we can create a custom filtered lookup based on start and end date. Let say we have two entities Entity A and Entity B, having relationship N:1 (A:B) and entity A have two attributes start Date and… Read more »