-
Continue reading →: Merging solutions in CRM 2011
Imagine you have 2 developers (Dev 1 & Dev 2) in your team working on 2 different organizations and 2 solutions, at the time of every release, you need to merge the components of both developers in to 1 solution. One way is Import Dev 1 & Dev 2 solutions…
-
Continue reading →: event.returnValue is not working after UR 12 – Fix
We use event.returnValue=false statement, to stop the event execution. (i.e., I can stop my crm form’s save action, if I write event.returnValue=false statement on my onsave() event). After I upgraded to UR12, I was getting script error, if I use the event.returnValue statement. Reason Update Rollup 12 and December 2012 Service…
-
Continue reading →: CRM online instance opening only in Mobile version – Fix
The other day, when I upgraded to IE 11 browser and when I browse my CRM online URL, I was getting only mobile version (i.e., http:// Orgname.crm5.dynamics.com/m/default.aspx). Even if i explicitly provide the URL http:// Orgname.crm5.dynamics.com/default.aspx, it was redirecting to Mobile version Reason CRM online is not compatible with IE 11…
-
Continue reading →: Retrieve records with Fetchxml using Jscript – CRM 2011
Retrieve the records using FetchXML is a convenient way as we can form the FetchXML easily using the ‘Advanced Find’ . Once you have the FetchXML ready, below is the JScript to execute and read the result set. In this sample, I am fetching records from custom entity “Bikes” which…
-
Continue reading →: Filtering Lookup view based on custom logic CRM 2011
In one of my requirement, I have to filter my lookup view results based on another lookup field value. I have 2 Lookup fields on my form Product Product Category When I click on “Product” lookup, I have to show only Products with category as “Product Category” field value. We can…
-
Continue reading →: The server was unable to process the request due to an internal error – plugin registration tool
The other day my plugin registration tool suddenly stopped connecting to my CRM server and was getting below error Unhandled Exception: System.ServiceModel.FaultException: The server was unable to process the request due to an internal error Below steps helped me to resolve the issue Go to “Plugin Registration Tool” physical folder Delete…
-
Continue reading →: Retrieve associated records (N:N related)
In CRM, If you create N:N relationship between 2 entities, it creates an intermediate entity (i.e., Relationship Entity) with 3 fields Primary key field of “Relationship Entity” Entity 1 Primary Key field Entity 2 Primary Key field In this sample, I have 2 custom entities “Bike” and “Bond” with N:N association.…
-
Continue reading →: Associate Campaign with related items using Jscript – CRM 2011
We can associate 2 entity records having N:N relationship using “AssociateRequest” SDK message. (How to associate) But you get below error when you try to associate a Campaign record with Campaign related items such as Marketing List, Product, or Salesliterature using “AssociateRequest” SDK message. Associate is not supported for CampaignItem Platform To associate…
-
Continue reading →: Consuming WCF service from Jscript using JQuery
I recently got a requirement to host a WCF service in Azure and consume it client side using Jscript. In this article, I am providing details on how to consume WCF service from Jscript with the help of JQuery. In below example, service is a simple “Products.svc” contain 1 method “GetProducts()” and…
-
Continue reading →: Copy a security role programmatically – CRM 2011
In one of the requirement, we have to create a new security role by copying an existing role in a Plug-in. The whole requirement break down to 3 steps Create a new security role Get all the existing role privileges by using “RetrieveRolePrivilegesRoleRequest” “RetrieveRolePrivilegesRoleResponse” contain, “RolePrivileges” property, with collection of…


