Category Archives: JavaScript

Supported ways of accessing URL addressable Forms/Reports Scripts.

While using CRM there may be conditions in which user wants to open forms and reports programmatically. For this we can write the scripts which will open the forms and reports. Open CRM forms using script: The form can be open using openEntityForm(); method.           Syntax :  Xrm.Utility.openEntityForm(name,id,parameter);   Parameters :   Ø  name: (Required… Read More: Supported ways of accessing URL addressable Forms/Reports Scripts. »

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… »

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 »

How to convert a RetrieveMultiple query written Server side to SOAP message to be used in Javascripts

It has often been seen that a RetrieveMultiple query that is very easy to write using the server side Query Expression objects using CRM webservices becomes difficult to achieve if we need to create a SOAP message for the same. In this article we hope to explain each of the elements involved in the writing… Read More: How to convert a RetrieveMultiple query written Server side to… »

List of Events available to trap in Scripts when saving a Dynamics CRM Form

CRM 3.0 has limited event detection made available using scripting. However It is now possible to detect which user action was performed to Save the form using the event.Mode property in the OnSave event. You can gain more detailed information about the user actions in the OnSave event by referencing the event.Mode values. These values… Read More: List of Events available to trap in Scripts when saving… »