Javascript:xpathevaluator() Is Undefined
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 internet-explorer-11. 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 internet-explorer-10 mode.
Caution: The downside is that this functionality will be depreciated in microsoft-edge, which is Microsoft’s newly released Internet Explorer replacement.
Post a Comment for "Javascript:xpathevaluator() Is Undefined"