Error: unable to get property 'getvalue' of undefined or null reference

Question Status

Elaine87 asked a question on 11 Dec 2013 7:36 AM

Thank you in advance!!!

Our CRM was finally updated 2 days ago and for cases, we keep getting this error message:

Field: Window

Event: Onload

Error:unable to get property 'getvalue' of undefined or null reference

I have been looking through the web and there have been a couple of suggestions. Mainly it was about disabling form assistant. However, that did not work.

The error message is quite annoying since it keeps coming up every time the support user is opening or saving a case.

I really appreciate for any opinion!

Vijay Waghmare responded on 11 Dec 2013 7:46 AM

Check if you are anywhere trying get attribute value on page load event. It should be Xrm.Page.getAttribute(“CRMFieldSchemaName”).getValue()   and not getvalue().

v is capital in getValue()


Vijay Waghmare

Elaine87 responded on 11 Dec 2013 7:54 AM

Hi Vijay,

Thank you for your suggestion!

Sorry for my ignorance, but I am actually not sure how to find that scipt. I am using CRM online and do not use any developer kit.



Shahid H Shaikh responded on 13 Dec 2013 3:55 PM

Hello Elaine,

Do you have any scripts running on the case form. You can verify this by following below steps.

Navigate to Settings >> Customization >> Customize the system >> On the left, expand the case entity >> Click on Form to open Form customization >> On the ribbon you will see an option "Form Properties", click on it. Check for any scripts in the form library. Try removing the script to see if the issue persists.

Elaine87 responded on 16 Dec 2013 5:31 AM

HI Shahid,

Thank you for your suggestion. I have actually done that, however I do not have any script on load. I have also contacted CRM Support.

They suggested to use the information form and replicate it. It went well, however, they also explained that I can't add the activity feed wall into it (posts, activity, notes). Hence, I tried creating a new main form, however that only created a copy of the original main form that has the error.

Do you know how to add the activity feed wall into the form? I remember that previously it was just adding the "record wall" webresource. However, now it just looks like the "What's New" post wall.

Thank you for your help!


Vijay Waghmare responded on 16 Dec 2013 8:46 PM

You can make use of IE Developer Toolbar for JavaScript debug. This will help you to find out where exactly JS is failing.

Refer Below URLs for help


Vijay waghmare