Monday, January 21, 2013

Client side scripts no longer work in Microsoft Dynamics CRM Online after the December 2012 Service Update


As we Know Microsoft dynamics CRM 2011 December 2012 Service Update and Update Rollup 12  is introduced well and in Update Rollup 12 cross browser compatibility is also available so you should be prepare for client side scripting that may be not supported by all Browsers.

After your organization is upgraded to the December 2012 Service, if you experience any of the following, you may need to take another look at your custom scripts:

·    errors at the bottom of your browser saying “Error on page

·    script error notifications saying things are ‘undefined’ or other things ‘don’t support this property or method

Upgrading Scripts that Use crmForm

Microsoft Dynamics CRM 4.0 used the crmForm object to provide access to form fields. The crmForm is deprecated in Microsoft Dynamics CRM 2011. Scripts using crmForm will continue to work in Microsoft Dynamics CRM 2011 to support backward compatibility for Internet Explorer only, but many Microsoft Dynamics CRM 2011 form scripting features cannot be achieved by using crmForm .

To use crmForm with Microsoft Dynamics CRM 2011 Update Rollup 12 and Microsoft Dynamics CRM December 2012 Service Update you must make sure the customization system setting Include HTC support in Microsoft Dynamics CRM forms is selected.

Resolutaion:

1.      Log into the Microsoft Dynamics CRM web application as a System Administrator.

2. Click Settings, click Administration, and then click System Settings.

3. Click the Customization tab.

4. Click the checkbox next to the setting labeled "Include HTC Support in Microsoft Dynamics CRM forms"

5. Click OK.

Note:

If you check this setting and the errors go away you have bought yourself some time to address the problems, but until then you will need to continue using only Microsoft Internet Explorer versions 8 or 9. Internet Explorer 10 or any other browsers will continue to generate script errors because those browsers don’t support HTML Components.


HTML Components Support is Disable By default in CRM 2011 Online and in next update Rollup major release this option will removed but in On primes it will be Enable by default so If you don’t have the script that is unsupported so you should disable it for Better performance.

For further information:

You may see to resolve this problem


No comments:

Post a Comment