Home > Dynamics CRM, Internet Explorer > Microsoft Dynamics CRM 2011 – Unable to set value of property ‘innerHTML’

Microsoft Dynamics CRM 2011 – Unable to set value of property ‘innerHTML’

When attempting to Save and Close a form you might be presented with the error message shown below.

Microsoft Encountered an Error

To view the error details, the user can click View the data that will be sent to Microsoft link. The error information relating to this post will look similar to the following screenshot.

InnerHTML error

The error message is:

<Message>Unable to set value of the property ‘innerHTML’: object is null or undefined</Message>

Also notice that is commonly appears on line 6.

Issue

When you enter data in a CRM 2011 lookup field that has the field formatting option of most recently used items functionality enabled, you receive a script error when clicking Save and Close on the CRM form.

Note: This is also related (with the same resolution steps) to an original posting on this blog here.

Resolution

1. Go to Settings > Customization, and then click Customize the System.
2. Open your CRM 2011 entity in question, and then click Forms.
3. Double-click the form so the form customization window opens.

What you will need to do now for each custom lookup fields is the following:
4. Double-click to open.
5. Under Field Behaviour section in the Display tab, deselect or un tick the option Disable most recently used items for this field.

DisableOption

Now save and publish your customisation. You should now notice the issue disappear.

Greg Olsen
Yellow Duck Guy

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: