Category Archives: Dynamics CRM

Issue with plug-in in CRM 2011

We had a requirement to do some calculation and update self record of custom entity. We have created a plug-in and registered it on post operation of update event. The code was reading the post image, updating some fields and updating the same. The plug-in was working fine for single record. But when two records… Read More: Issue with plug-in in CRM 2011 »

Update the Parent Silverlight Grid from the CRM form that is spawns.

We were working on the Silverlight REST Editor sample that is available in SDK. We added a hyperlink to that grid that would open the CRM Contact form for the selected contact. This would allow users to check in further details of the contact. The users can also update the fields on the contact form… Read More: Update the Parent Silverlight Grid from the CRM form that… »

Dynamically control Form Navigation

CRM 2011 introduced the feature to design more than one form for an entity and assign form to users based on their role (Role Based Form). It has also included a feature where by it would automatically open the form that was last used by the logged in user for that entity. If you would… Read More: Dynamically control Form Navigation »

ODATA Properties and Methods Explored…

Here are some of the ODATA context properties that would help us during debugging and understanding the behavior of the context when performing various operations.1. DataServiceContext.Entities:Gets a list of all the records currently being tracked by the DataServiceContext. While using OData service, we frequently get the error that context already tracking the record. With the… Read More: ODATA Properties and Methods Explored… »

Performing CRUD Operations synchronously in CRM 2011 through JSON

Synchronous methods to create, update and delete the records for the Account entity through JSON. These methods works synchronously. Create Records: To create the record into the CRM, you need to create an object for that record. After that you need to create the object of the XMLHttpRequest and open this request through “POST” method… Read More: Performing CRUD Operations synchronously in CRM 2011 through JSON »

Read records synchronously using JSON in CRM 2011

Common knowledge is that we can make JSON requests through scripts in CRM 2011 to retrieve data from CRM entities. However, the JSON request works asynchronously i.e it does not return the results immediately and the control moves to the next line of code to be executed. It so happened during one of our development… Read More: Read records synchronously using JSON in CRM 2011 »

Enable Scripts on Bulk Edit form in CRM 2011

CRM 2011 includes the feature to enable script on the bulk edit form. By default the scripts are disabled for bulk edit forms. To enable the script for Bulk edit forms check the below syntax See below detailed descriptions for the attributes. Steps to enable the script on bulk edit form:– Include the entity for… Read More: Enable Scripts on Bulk Edit form in CRM 2011 »