Getting FetchXml and LayoutXml from Advanced Find

less than 1 minute read

When working with custom views inside Dynamics 365 you may need to create fetchXml and layoutXml strings for new temporary custom views.

The easiest way to do this, in my opinion, is to create a new Advanced Find with the information & filters you require.

New Advanced Find
New Advanced Find

Then execute the Advanced Find and get the results.

Showing the results in Advanced Find
Showing the results in Advanced Find

Once you’ve got the results page, open the Developer Tools (F12 in Chrome & Edge) and use the search functionality to look for fetchXml or layoutXml. You should find a div containing your strings.

layoutXml and fetchXml showing in the DOM
layoutXml and fetchXml showing in the DOM

Leave a comment

Your email address will not be published. Required fields are marked *

Loading...