Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Saved Query vs User Query

(0) ShareShare
ReportReport
Posted on by 294

Hello everyone, 

I would like to know difference between saved query and user query and what is the need for having these two separate ? I know that saved query contains all Views & user query contains views specific to users (Personal views) but, Why CRM is not having these two kind of views in Same entity and separate with some flag like IsUserQuery ?

Thanks

Regards,

Harshil Shah

*This post is locked for comments

  • Akanksha09 Profile Picture
    2 on at
    Saved Query vs User Query
    O these views in Model-Driven Apps are essentially saved queries that define how data is retrieved and displayed from the underlying database, which in the context of the Power Platform is the Dataverse (formerly known as the Common Data Service). These queries are primarily written in FetchXML? 
    when is the data fetched and load? is it when the MDA is loaded or when the view is clicked from drop-down menu?
  • Verified answer
    Charles Abi Khirs Profile Picture
    3,569 on at
    RE: Saved Query vs User Query

    Hello,

    System Views are available for all users and are related to the entity itself. If the user has access to this entity, he will have access to its views as well. Only the System Admin/System Customizer are able to create System Views.

    Personal Views are private views and each user can create its own queries as per his need. Nobody can access the personal views created by other users unless the owner of this view shares them with other users.

    This is a security/access reason for having these two types of queries.

  • Verified answer
    Rawish Kumar Profile Picture
    13,758 on at
    RE: Saved Query vs User Query

    Hi Harshil,

    the differennce is mainly around the security and visibility.

    As per microsoft official documentation:

    A user query, called a saved view in the application, is owned by an individual user, can be assigned and shared with other users, and can be viewed by other users depending on the query's access privileges. This is appropriate for frequently used queries that span entity types and queries that perform aggregation. A saved query, called a view in the application, is owned by an organization making it visible to all users in the organization.

  • Verified answer
    Kokulan Profile Picture
    18,054 on at
    RE: Saved Query vs User Query

    Hi

    Primary reason for them being in separate entities is due to permissions.

    User Query (Personal View) is personal to user (no one has access to it, not even via sec roles) unless the user chooses to share it with others where as Saved Query (System View) is available to anyone and can be controlled via Security Roles and permissions.

    In short, they are treated separately as they have different permission model

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,469 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,066 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans