Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

How to import fetchxml.xml

Posted on by 125

Hi,

I know I can export my queries from CRM 2011 but how can I import fetchxml.xml after modyfying it? I'm sure there's a way...

Thanks.

..Sampsa

*This post is locked for comments

  • suresh maurya Profile Picture
    suresh maurya 630 on at
    RE: How to import fetchxml.xml

    You can test FetchXML online http://msxrmtools.com

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to import fetchxml.xml

    Hello.

    You could use mscrmtoolkit.codeplex.com

    The Data Export Manager tool allows you to add your customized FetchXML and create a file with the data (it exports the data to a CSV or a XML file).

    Regards

    Eduardo Palou

    Visit my blog http://palou-it.blogspot.com/

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,093 on at
    RE: How to import fetchxml.xml

    Hello,

    There is not out of box way where you can import your Fetchxml directly, but you could try to build small utility where you can change UserQuery entity

    Check: msdn.microsoft.com/.../gg328472.aspx

    stackoverflow.com/.../update-a-savedquery-view-from-the-sdk

    Thanks

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to import fetchxml.xml

    makdns.blogspot.com/.../ms-dynamics-crm-2011-display-listsviews.html

    The above will give idea

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to import fetchxml.xml

    I need the same functionality.  Did you figure out how to accomplish this via FetchXML?

  • thejoecarroll Profile Picture
    thejoecarroll 35 on at
    RE: How to import fetchxml.xml

    I second Justin: surely there's a way to import FetchXML as a view rather than a report?!?

  • Justin Dale Profile Picture
    Justin Dale 172 on at
    Re: How to import fetchxml.xml

    Being able to use this in reports is fine, but how about re-importing FetchXML as a new view???? I would like to lookup contacts based on a FetchXML and then mass-edit them, instead of having to look them up one by one and make the same change over 400 times.

  • alf Profile Picture
    alf 17,915 on at
    Re: How to import fetchxml.xml

    Hi sampsa,

    After you have modified the fetchxml you can create reports with it.  CRM wil now run your modified fetch in an advanced find, but will run in a report.  Here's a blog we wrote on it:

    www.powerobjects.com/.../reports-with-fetch-xml-cool

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,104 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans