FetchXML Builder


The tool will assist in three major areas:

1. Constructing FetchXML in ways that Advanced Find cannot
- aggregates
- outer joins
- complex "not-in"-queries
- attributes from multi-level linked entities
- update existing views with altered queries

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

3. Developer assistance
- Generate C# QueryExpression code from fetch xml
- Generate OData query string from fetch xml
- Generate SQL, JavaScript and C# stubs for queries
- Easy to use UI to compose queries for reports in CRM

The tool reads metadata from CRM 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

-- New features--
#170 Save View As... Create a new personal view from existing
#210 Adding option to show dates with local time in result grid
Possible to review previous release notes in Welcome dialog

-- Bug fixes --
#129 Handle values for Fiscal conditions correctly
#205 Don't treat personal views as uncustomizable
#206 Distinct on countcolumn aggregate

-- Internal --
Rebranded with Jonas personal brand
Restructuring with assembly name Rappen.XTB.FXB.dll
Improved fetch schema load for XML validation
Implemented IAboutPlugin for generic access to About dialog


Version Release date Number of downloads Rating
1.2018.6.1 6/15/2018 10:40:29 AM 10375 5.00
1.2018.4.2 4/6/2018 4:35:39 PM 13878 5.00
1.2018.2.2 2/12/2018 3:23:45 PM 13508 5.00
1.2018.2.1 2/1/2018 11:11:52 AM 4930 5.00
1.2018.1.3 1/5/2018 8:59:34 AM 11671 5.00
Show more versions (12 more)


Latest version

(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!!! :)

Other versions

(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.2018.6.1 Released on: 06/15/2018 Nuget package Id: Cinteros.Xrm.FetchXmlBuilder Open Source: true Go to project web site Ratings (all versions) 5Average rating 15Number of ratings Downloads 10375Latest version 297682All versions 17510.71Average per version