Skip to content Skip to sidebar Skip to footer

Javascript:xpathevaluator() Is Undefined

I`m using 'XPathEvaluator' builtin function in js file,but it throws error like ''XPathEvaluator' is undefined'. I have added code like -> var Evalt = new XPathEvaluator()

Solution 1:

This actual error is...

ReferenceError: 'XPathEvaluator' is undefined

As per the article, Resolving the Error "XPathEvaluator’ is undefined" this XPathEvaluator is undefined script error is often observed in Microsoft Dynamics CRM 2011 after upgrading to . Further investigation revealed, any HTML resource that includes ClientGlobalContext.js (which is used to get the context of the parent form) will throw the error the error SCRIPT5009: ‘XPathEvaluator’ is undefined.


Solution

The solution is to add the following line to the <head> of your custom HTML documents that reference that particular JS file:

<metahttp-equiv="X-UA-Compatible"content="IE=10" />

This this line of the script is to force the browser to run the web resource in mode.

Caution: The downside is that this functionality will be depreciated in , which is Microsoft’s newly released Internet Explorer replacement.

Post a Comment for "Javascript:xpathevaluator() Is Undefined"