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 »
If you are looking to get current user security roles in silverlight webresource, you can use below function for the same. I am using SilverCrmSoap library available in codeplex and SilverlightUtility that comes with CRM SDK. It will fetch all the security role based on userid,once you have security roles you can loop thorugh it and can check for any particular… 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 »
Some day back I got a request mail to provide some learning resourc for MS CRM 4.0 and MS CRM 2011 for new CRM developers. I have already a post for MS CRM 2011, in this post I am going to provide some learning resoures for MS CRM 4.0, which is very helpful for any crm developer MS CRM 4.0… 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 »