OnChange part 3: Where is the clearOnChange method?

The Microsoft Dynamics CRM SDK comes with lots of functionality to affect how CRM behaves on the client side.In a couple of articles I will discuss the opportunities ventilate my frustration over run-time event handling manipulation. My first article in this series covered problems when trying to remove design-time defined onChange events in run-time using … Continue reading OnChange part 3: Where is the clearOnChange method?

OnChange part 2: addOnChange with context awareness

The Microsoft Dynamics CRM SDK comes with lots of functionality to affect how CRM behaves on the client side.In a couple of articles I will discuss the opportunities ventilate my frustration over run-time event handling manipulation. My first article in this series covered problems when trying to remove design-time defined onChange events in run-time. This … Continue reading OnChange part 2: addOnChange with context awareness

OnChange part 1: Remove design-time event handlers

The Microsoft Dynamics CRM SDK comes with lots of functionality to affect how CRM behaves on the client side.In a couple of articles I will discuss the opportunities ventilate my frustration over run-time event handling manipulation. Events reacting to changes in fields can be defined design-time by making customizations to forms, and run-time by adding … Continue reading OnChange part 1: Remove design-time event handlers

MS CRM SDK 5.0.13: Xrm.Page.context.getClientUrl – at last!

The long long wait is over... Have you ever had a CRM installation that can be accessed using different URLs, e.g. one to be used inside a corporate network, and one to be used for external access?Have you also written some javascript to make calls to the OData endpoint or to open a new entity … Continue reading MS CRM SDK 5.0.13: Xrm.Page.context.getClientUrl – at last!

CRM 2011 Quick Reference for Form Scripting

Big thumbs up to Jim Daly who composed this Form Scripting Quick Reference for Microsoft Dynamics CRM 2011. Very good, short, intuitive examples and really easy to find what you are looking for. http://msdn.microsoft.com/en-us/library/jj602964.aspx

Automatically Set Regarding on New Activities

Summary Missing functionality in the MS CRM 2011 OOB functionality: Activities created from menu File – New Activity on entity forms do not get the Regarding field populated. When creating new activities from the associated view on the entity form, the Regarding field is mapped properly. In this post, I will demonstrate a javascript example … Continue reading Automatically Set Regarding on New Activities

Xrm.Utility methods in MS Dynamics CRM UR8

Have you ever used the unsupported javascript-function openObj to open a form in Microsoft Dynamics CRM 2011? Have you ever cursed out loud over getting correct paths and parameters for URL Addressable Forms? Have you ever implemented your own functionality to open a Microsoft Dynamics CRM 2011 webresource in a new window? Stop that. Now. … Continue reading Xrm.Utility methods in MS Dynamics CRM UR8

Execute Server-Side Code from Javascript

Background: General business rules shall be implemented in server-side code to ensure its execution regardless of the origin of data changes; CRM UI, workflow, integration or any other application consuming the CRM web services. But on some occasions it would be handy to be able to execute this code from JavaScript to improve the user's … Continue reading Execute Server-Side Code from Javascript