Some people have reported getting an XPathEvaluator is undefined error using sdk.metadata.js sample library from the SDK. This only occurs when using IE10.
This will be fixed in the next SDK release, but I wanted to put something on the forum in case someone encounters this before the update is released.
sdk.metadata.js contains three functions: RetrieveAllEntities, RetrieveEntity, & RetrieveAttribute. Only the RetrieveAttribute function is effected.
To fix, change line 323 and add the highlighted line:
This will specify that the XML returned have the selectSingleNode attribute if the browser supports it and it won’t try to use XPathEvaluator.
Jim Daly Technical Writer Microsoft Dynamics CRM
Are you using the sdk.metadata.js library from the CRM 2013 SDK or a later version? Use the SDK.Metadata.js library from the latest 2013 SDK.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?