Applies To
Dynamics CRM 2013 Microsoft Dynamics CRM 2013 Service Pack 1 Microsoft Dynamics CRM 2011

Symptoms

After updating to Google Chrome 37, an error is received when attempting to add a new status reason, or when editing an existing status reason, in Microsoft Dynamics CRM

There was an error with this field's customized event.

Field:window

Event:onload

Error:undefined

Cause

Google Chrome version 35 has deprecated the JavaScript method showModalDialog(). Starting with Google Chrome version 37, this method will be turned off by default.showModalDialog() is a method to create a dialog and returns the value set by the dialog. This is a core method used in dialog-return scenarios in Microsoft Dynamics CRM.

Resolution

Until May 2015, a registry workaround is available to restore the showModalDialog() method. To enable the showModalDialog() method, the following steps can be used:

1. Download ADM Policy Templates for Windows

2. Extract the downloaded files, then navigate to Start | Run: gpedit.msc3. Navigate to Local Computer Policy | Computer Configuration | Administrative Templates4. Right-click Administrative Templates and select Add/Remove Templates5. Add the downloaded chrome.adm templates of Windows via the dialog for the specific language6. Once the template is added, a Google Chrome folder will appear under 'Classic Administrative Templates'7. Select EnableDeprecatedWebPlatformFeatures setting in the right column. Right-click the setting and select Edit8. Edit the EnableDeprecatedWebPlatformFeatures as shown below:

a. Paste in the following string value: ShowModalDialog_EffectiveUntil20150430

b. Click OK on the Show Contents dialogc. Click Apply and OK on the Enabled Deprecated Webplatform Features dialog9. Restart the Google Chrome browser and type chrome://policy in the address bar

a. You should observe that this deprecated feature is now enabled.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.