Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Getting an error 'Error: XrmServiceToolkit.Fetch: No 'entity' node in the provided FetchXML' from Internet Explorer. Works fine in Google Chrome

Posted on by 190

Hi,

I have a custom javascript method where I have FetchXML query that I am calling upon change on one particular field from the form and it works fine in the Google Chrome but fails in Internet explorer or Firefox giving below error:

Error: XrmServiceToolkit.Fetch: No 'entity' node in the provided FetchXML.

We are on Dynamics Online version. XRMToolkit.js that I have added in my library has below references

/// <reference path="XrmPageTemplate.js" />
/// <reference path="json2.js" />
/// <reference path="jquery.js" />

Wondering if it is to do with the version of the XRMToolKit library. If so, how and where do I get the compatible version that works for Dynamics Online.

Thanks In Advance.

Rekha

*This post is locked for comments

  • Verified answer
    Brekh Profile Picture
    Brekh 190 on at
    RE: Getting an error 'Error: XrmServiceToolkit.Fetch: No 'entity' node in the provided FetchXML' from Internet Explorer. Works fine in Google Chrome

    It appears that the XRMServiceToolkit javascript library I have been referring does not work in IE. I changed my code to use the SDK.JQuery library and it is all working fine now in any browser.

  • Brekh Profile Picture
    Brekh 190 on at
    RE: Getting an error 'Error: XrmServiceToolkit.Fetch: No 'entity' node in the provided FetchXML' from Internet Explorer. Works fine in Google Chrome

    Yes. I did. I don't understand how would it work fine in chrome without any issue but not in IE or Firefox.

    Can you think of any other possibility of the cause. I don't think it has to do with my javascript code as it works fine in one browser.

  • Thomas David Dayman Profile Picture
    Thomas David Dayman 11,323 on at
    RE: Getting an error 'Error: XrmServiceToolkit.Fetch: No 'entity' node in the provided FetchXML' from Internet Explorer. Works fine in Google Chrome

    Have you added the XRMServiceToolKit.js file into CRM as a web resource?

  • Brekh Profile Picture
    Brekh 190 on at
    RE: Getting an error 'Error: XrmServiceToolkit.Fetch: No 'entity' node in the provided FetchXML' from Internet Explorer. Works fine in Google Chrome

    Yes. I did check for the Syntax error and like i said my javascript method works fine in Google Chrome but not in any other browsers.

  • Thomas David Dayman Profile Picture
    Thomas David Dayman 11,323 on at
    RE: Getting an error 'Error: XrmServiceToolkit.Fetch: No 'entity' node in the provided FetchXML' from Internet Explorer. Works fine in Google Chrome

    Have you checked this?

    community.dynamics.com/.../230400

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans