web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Create a view via XML

(0) ShareShare
ReportReport
Posted on by 50

I would like to know if it is possible to create a new view using XML.

For example, I have this query:

<fetch top="50">
<entity name="contact">
<attribute name="fullname" />
<filter>
<condition attribute="fullname" operator="eq" value="Blabla" />
</filter>
</entity>
</fetch>

I want to transform in a view. Is it possible? 

I saw that the views that we create are saved in the database in the savedquery table.

Is there any easy way of inserting a new record with my custom XML or any other way of achieving it? 


--- The XML above is just an example, I'll be using one that there are tables relationship ---

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Use fetchXml builder tool in xrmtoolbox.

    https://fetchxmlbuilder.com/

  • Ricardo Jacobsen Profile Picture
    50 on at

    Sorry, this would be for users use it, so I need to create a view inside the CRM, so the user can select and view the data.

    As we cannot go too deep in the table relationship with the advanced filter, I thought of this solution.

    I'll create the XML with XRMtoolbox, but I need transform this in a view to the user.

  • Verified answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    You can also create view from fetchXml builder and publish to your instance so that it will be available to your all users to use it from crm..

    jonasr.app/.../

  • Ricardo Jacobsen Profile Picture
    50 on at

    Thank you for the suggestion mate. This will may help more people in future.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 45 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans