Developer Utilities

How to Build FetchXML Queries

Step-by-step guide to constructing FetchXML queries for Dataverse and Dynamics 365 using the DevHexLab FetchXML Builder.

Tool Used

FetchXML Builder

Open tool
1

Open the FetchXML Builder

Navigate to /tools/developer/fetchxml-builder.

2

Select the entity

Choose the Dataverse entity (table) you want to query from the entity list.

3

Add attributes and filters

Select the columns to retrieve and add filter conditions using the condition builder. Set operators like equals, contains, greater-than, and in-list.

4

Copy the FetchXML

Click Copy FetchXML to grab the generated query. Paste it into your Power Automate List Records action, a Web API request, or the Advanced Find tool in Dynamics 365.

All done!

You are ready to use FetchXML Builder like a pro.

Try it now
All guides