FetchXML Builder for Microsoft Dynamics 365/CRM got an extreme makeover


The first release of FetchXML Builder for XrmToolBox in 2018 contains a major face-lift.

New year – new design! After more than three years since first release, the time has come to use all the feedback from issues on GitHub, comments on Twitter, and collected statistics to improve the UI. This article describes some of the major changes introduced with the first release of 2018.


The very first thing you will see is the welcome screen, shown the first time you start a new version of FetchXML Builder. The welcome screen will contain release notes with highlights of what’s new.
imageThe welcome screen can be accessed from the Options window, if you want to go back and read more.



The next thing you notice is the “lighter UI“.No more dull gray panels bringing back memories of 2001.Extra toolbars for different actions and options can be expanded and collapsed by clicking the small plus / minus sign to the right.

Result View

When you execute a query, you realize the results view is not popped up as a blocking modal dialog, but instead inline, next to the Query Builder panel.image


Click and drag the result view header tab, and you discover the possibility to dock the view just the way you like it – or even pop it out as a floating window!image


In the View menu you can see all the different windows you can open to represent the query being composed using the Query Builder.As you can see, some options that were previously available as “Save as…” features, are now presented in separate windows in the docking layout of FetchXML Builder.All these windows can be docked more or less freely within the tool, to allow you to create your own perfected query building experience.

FetchXML Editor

The editor for FetchXML is now inline with the Query Builder, so you can build your query and simultaneously see the resulting FetchXML evolve in the editor.This is also the place to go when you get a FetchXML query from some other source: Press Ctrl+E to open the editor, paste the FetchXML, click OK.imageIf you check the Live Update Query box the Query Builder treeview will be updated from the FetchXML as you type. When it is not checked you can still write your FetchXML manually, and then click OK to apply it to the Query Builder.For experimental queries that may not be accepted by the validation in the Query Builder you can write your FetchXML and then click Execute from the editor window. This will take the xml as is and try to execute it without validation.

Multiple result views

By using the new setting Always open results in new window it is possible to compare results of different queries without having to copy/paste results to Excel or other tricks to store previous results.imageYou can even have the different result views in different docking modes!image

Layout examples

A couple of examples of window layout in FetchXML Builder.imageSNAGHTML553fb04

FXB on Twitter

Remember to follow @FetchXMLBuilder on Twitter for all the latest news!

More information


7 thoughts on “FetchXML Builder for Microsoft Dynamics 365/CRM got an extreme makeover

    1. Hi Martin,

      If you open a view from CRM you can alter it and then simply save it back to CRM with the updated query using the menu options in FetchXML Builder.
      If you want to save the results of a query, you can copy all cells in the result view by using CTLR+A, CTRL+C and then start Excel and paste it in there.


      1. Hi Jonas, thanks for the tool FetchXML Builder, really made my life simpler, as I am a total newbie to Dynamics CRM.

        Following up on your previous answer on copy-pasting to Excel, it works, but I am struggling with something..

        The Result View in FetchXML Builder has got interesting links. For example if I click on an opportunity ID from the Result View, it opens the opportunity in Dynamics.

        However when I paste in Excel, I lose these hyperlinks information, all becomes plain text. I did make sure to paste “keeping source formatting”.

        Is there a way that CTRL+C would keep the hyperlinks?

        1. Hi Pierre, glad to be able to improve your life ????
          Unfortunately it does not seem to be possible, at least not without some extensive changes to the DataGridView control used to display the results.
          Feel free to submit a suggestion by using menu “Help – Feedback for FetchXML Builder” in XrmToolBox, and we’ll see if I or anyone else could come up with something!

  1. Does Fetch XML Builder bring in the option set?
    That doesn’t seem to work for me.
    Any Advise?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.