Client-side scripts no longer work in Microsoft Dynamics CRM Online after the December 2012 Service Update
This article helps you fix script errors after your Microsoft Dynamics CRM Online organization is updated to the December 2012 Service Update.
Applies to: Microsoft Dynamics CRM Online
Original KB number: 2804561
If your forms use the V4.0 client API (crmForm), you may encounter script errors after your Microsoft Dynamics CRM Online organization is updated to the December 2012 Service Update. You may see a dialog appear that says "Undefined", or you may see an error in the bottom-left corner of the form that says "Error on page". Other various script errors may appear.
The December 2012 Service Update for Microsoft Dynamics CRM introduced a new System Setting that controls whether or not HTML Components (HTC) are included in Microsoft Dynamics CRM forms. This setting is disabled by default in Microsoft Dynamics CRM Online.
The following crmForm properties require HTC:
- Sign in to the Microsoft Dynamics CRM web application as a System Administrator.
- Click Settings, click Administration, and then click System Settings.
- Click the Customization tab.
- Click the checkbox next to the setting labeled Include HTC Support in Microsoft Dynamics CRM forms.
- Click OK.
The crmForm API was deprecated with the Microsoft Dynamics CRM 2011 release. For more information about this topic and other potential causes of script errors after the December 2012 Service Update, see the following Blog posts: