Category Archives: MS CRM 2011

This is all about technical aspects of Microsoft Dynamics CRM 2011.

How to Change the ReportServer Url for Microsoft Dynamics CRM 2013 / 2011

Below are the steps to modify the Report Server URL and SQL Server for an Organization in Microsoft Dynamics CRM 2013 / 2011. This assumes that the report server is already installed and configured. 1. Open CRM Dynamics Deployment Manager … Continue reading

Posted in MS CRM 2011, MS CRM 2013 | Tagged , , | 1 Comment

Error: Unable to load plug-in Assembly for offline plugin in Dynamics CRM 2011

I am getting weird error “Unable to load plug-in Assembly” for offline plugin in Dynamics CRM 2011. And after downloading log file the error details is as “Public key token af134b872b327f03 is not found in allow list”. I have searched … Continue reading

Posted in MS CRM 2011 | Tagged , , | 1 Comment

How to disable a form control in Dynamics CRM 2011 using Javascript

To disable a form control in Dynamics CRM 2011 using Javascript try below code: var control = Xrm.Page.ui.controls.get(“fieldname”);// like new_age control.setDisabled(true);

Posted in MS CRM 2011 | Tagged , , | 1 Comment

Write a common plugin for Create/Update/Delete events in Dynamics CRM 2011

If you want to write a common plugin for Create/Update/Delete events in Dynamics CRM 2011 then only you need to take care of “context.InputParameters[“Target”]”. In case of Create/Update event “context.InputParameters[“Target”] is Entity” and in case of Delete event “context.InputParameters[“Target”] is … Continue reading

Posted in MS CRM 2011 | Tagged , | 2 Comments

How to retrieve dynamic marketing list member in Dynamics CRM 2011

To retrieve dynamic marketing list member in Dynamics CRM 2011 follow below steps: Pass list Guid as string and it will return dynamic marketing list member private EntityCollection RetrieveDynamicMemberList(IOrganizationService service, string strList) { ColumnSet cols = new ColumnSet(new string[] { … Continue reading

Posted in MS CRM 2011 | Tagged , | Leave a comment

How to retrieve static marketing list member in Dynamics CRM 2011

To retrieve static marketing list member in Dynamics CRM 2011 follow below steps: Use Link Entities to get relationship entity details Passing list Guid as object and it will return static marketing list member private EntityCollection RetrieveMarketingListMembers(IOrganizationService service, object strList) … Continue reading

Posted in MS CRM 2011 | Tagged , | 2 Comments

How to debug offline plugin in Dynamics CRM 2011 for Outlook Offline

Following are the steps to start debug a offline plugin in Dynamics CRM 2011 for outlook offline mode: Build the solution on your machine Register the plugin on the server Register the step deployment as server and offline Synchronize the … Continue reading

Posted in MS CRM 2011 | Tagged , , | Leave a comment

How to retrieve campaign and target product in Dynamics CRM 2011

To retrieve campaign and target products in Dynamics CRM 2011 follow below steps: Use Link Entities to get N:N relationship entity details Passing Campaign Activity Guid array and it will return campaign details and target products associated with campaign private … Continue reading

Posted in MS CRM 2011 | Tagged , , | Leave a comment

How to create static marketing list and associated marketing list member in Dynamics CRM 2011

To create static marketing list and associated marketing list member in Dynamics CRM 2011 below are the steps: Create the array of contacts/accounts/leads. Set type attribute as false to create static list. Make sure createdfromcode attribute is set as contact/account/lead … Continue reading

Posted in MS CRM 2011 | Tagged , , | Leave a comment

How to use FetchXML to retrieve entities in Dynamics CRM 2011.

FetchXML is query language 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 … Continue reading

Posted in MS CRM 2011 | Tagged , | 1 Comment