FetchXML Builder


FetchXML Builder is used to create and execute queries against CDS and Dynamics 365/CRM data.
CDS includes technologies we know as:
- Microsoft Dynamics 365
- Dynamics CRM
- Common Data Service (CDS)
- Power Apps (Model Driven)
- Power Apps (Canvas connected to D365 or CDS)
- PowerBI (connected to D365 or CDS)

The tool will assist in three major areas:

1. Constructing queries, including more advanced features like:
- aggregates
- outer joins
- complex "not-in"-queries
- attributes from multi-level linked entities
- update existing views with altered queries

2. Querying CDS/CRM for information not (easily) found in the UI
- system / internal entities
- attributes hidden in CRM UI
- join on other fields than relationships

3. Developer assistance generating code for
- C# QueryExpression code
- WebAPI / OData query string
- Power Automate List Records
- SQL, JavaScript and C# stubs
- Easy to use UI to compose queries for reports in CRM

The tool reads metadata from CDS to assist with selecting entities, attributes, relations and to perform validation of condition values.

To make it even more appealing, there is also the possibility to have it show "Friendly names", which will replace the technical names of entities and attributes with their display names in the users' currently selected language, much like Advanced Find does.

Latest version release notes

Full release notes:
👉 https://github.com/rappen/FetchXMLBuilder/releases/tag/FetchXMLBuilder-1.2020.06.002


Version Release date Number of downloads Rating
1.2020.6.2 6/7/2020 4:07:08 PM 6071 5.00
1.2020.5.7 5/23/2020 2:56:56 PM 4289 0.00
1.2020.5.6 5/23/2020 12:17:29 PM 0 0.00
1.2019.12.1 12/2/2019 9:57:07 PM 22325 5.00
1.2019.9.1 9/10/2019 8:22:32 PM 15836 5.00
Show more versions (27 more)


Latest version

(Pablo Roldan, )
Best tool ever

Other versions

(Cleiton Santos, )
One of the tools you cannot live without

(dominique Vissoh, )

(Brian Blair, )
Great Plugin!

(Ben Becker, )
very handy, love how you can clearly see the relationship references in an intuitive manner, this is great, thank you!

(Pankrasio Iscariote, )


(Thomas Payne, )

(Michael Ochs, )

(Trevor Bennett, )
Great plugin

(Ben Walker, )
This is one of those 'must-have' toolbox plugins. I could not imagine working without it. Many thanks to Jonas and any other contributors!

(T Y, )
New user review: PROS: UI is fairly intuitive. Stretchable windows is a good feature. Ability to display QueryExpression is nice but see above. Ability to remember connection details is a real "God send". Various view is excellent. CONS: The FetchXML functionality supported by this tool is constrained to the limitations of QueryExpression (e.g. comparing attributes from 2 different , linked entities - basic SQL functionality - is not supported). Disappointed.

(John Baptiste Bily, )
In Fetch Veritas

(Henri Lo, )
awesome tool Jonas. Help me a lot building complex FetchXml reports.

(Guillaume Lequertier, )

(Nishant Rana, )
One of the best tools in XRM Tool Box.

(Aura Berrocal, )

(Scott Myers, )

(Andrew N, )
This is a brilliant plugin and really increases your productivity by constructing your FetchXML or QueryExpressions for you. So if you are c# developer and want to use Query expressions, you can use the point and click UI to construct your query, get the results and then have Fetch XML generate the Query Expressions for you that you can just copy and paste into your code!!! Brilliant plugin... keep up the good work!!! :)

(Serjanya AE, )

(Scott Sewell, )

(Roman Uvarov, )

(Allan Varcoe, )

(Don Schiavone, )
Cannot imagine life without this tool!

(Scott Sewell, )
Using FetchXML Builder incrementally reduces my impact on global warming.

(Scott Sewell, )
Indispensable. - Absolutely essential for anyone going after XRM/CDS data.


(Guillaume Goulfault, )

(Natraj Yegnaraman, )

(Josh Painter, )
Fantastic tool. I use it almost every day!

Related information

Author: Jonas Rapp Latest version: 1.2020.6.2 Released on: 06/07/2020 Nuget package Id: Cinteros.Xrm.FetchXmlBuilder Open Source: true Go to project web site Ratings (all versions) 5Average rating 30Number of ratings Downloads 6071Latest version 416735All versions 13022.97Average per version