Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Hide All unwanted Views is not possible in app

(4) ShareShare
ReportReport
Posted on by 5,439
Hi All,
 
I am trying to hide all my unwanted views for my email and chat entity.
but i am unable to hide the views. at least one view is present in app.
 
how can i add all my views which is for email and chats?
I removed all views from model drive app but still i am able to see atleast 1 view 
 
how to hide it
 
 
 
Thanks
Sandeep
Categories:
  • sandeepc Profile Picture
    5,439 on at
    Hide All unwanted Views is not possible in app
    This is not working is it possible to hide views using js?
  • Verified answer
    CU13031143-0 Profile Picture
    42 on at
    Hide All unwanted Views is not possible in app
    Hi Sandeep,
     
    It sounds like you're trying to hide unwanted views for the Email and Chat entities in a model driven app, but you're still seeing at least one view despite your efforts.
     
    In Dynamics 365, views are managed at both the entity level and the app level as you're aware, and sometimes the default behavior can make it tricky to hide all unwanted views. Since you're using a model-driven app, here’s what you can do:
     
    1. Check the App Designer for the Model-Driven App:  
       - Open the App Designer for your model-driven app (you can do this via the Power Apps maker portal at make.powerapps.com).  
       - Navigate to the Entity View section for the Email and Chat entities.  
       - Ensure that only the views you want to display are selected. If there are any unwanted views (like the default "All Emails" or "My Emails"), deselect them.  
       - Save and publish the app.
     
    2. Verify System Views at the Entity Level:  
       - Go to the Advanced Settings in Dynamics 365, then under Customizations, select Customize the System.  
       - Find the Email and Chat entities, and check their Views.  
       - If there are system views (like "All Emails") that you don’t want to show, you can’t delete them, but you can deactivate them:  
         - Open the view, click on More Actions > Deactivate.  
         - Alternatively, you can modify the view’s filter criteria to return no records (e.g., set an impossible condition like "Created On equals 1/1/1900").  
       - Save and publish your changes.
     
    3. Check for Default Views in the Sitemap:  
       - In the App Designer, check the Sitemap to see if the Email or Chat entities are directly referenced. Sometimes, the sitemap configuration can force a default view to appear.  
       - If needed, adjust the sitemap to ensure it aligns with your desired views.
     
    4. Role-Based Security and Views:  
       - Ensure that the security roles assigned to users (including yourself) don’t have access to views you’re trying to hide.  
       - Go to Settings> Security > Security Roles, and check the permissions for the Email and Chat entities. You can restrict access to specific views by customizing the role. https://learn.microsoft.com/en-us/power-platform/release-plan/2024wave2/power-platform-governance-administration/share-system-views-security-role
     
    5. Clear Cache and Test:  
       - After making these changes, clear your browser cache or use a private/incognito window to test the app. Sometimes, cached data can make it seem like the view is still there.
     
    If you’ve already removed all views and still see one, it might be a default system view that’s being enforced by the platform. In that case, you might need to create a custom view with your desired filters and set it as the default for the app, overriding the system view.
     
    I hope this resloves your issue, all the best!
     
    Best regards,  
    Nikhil Sarpatwari
     
    ---
     
    If you found my comment helpful or if this resolves your issue, please acknowledge it by liking the comment or letting me know. Thanks for helping keep the community engaged!
  • sandeepc Profile Picture
    5,439 on at
    Hide All unwanted Views is not possible in app
     
    I tried ti hide hidden default view. it is not allowing .. its showing you cannot hide/deactivate default view
  • Suggested answer
    Tom_Gioielli Profile Picture
    1,464 on at
    Hide All unwanted Views is not possible in app
    Here's a resource from Microsoft on working with views, might be worth reviewing the documentation. There are different types of views (System or Personal) and numerous ways for Model Driven Apps to be configured (Show all Views, Selected Views only) as well as new settings that give even more control (allow users to hide system views).
     
     
    You are required to have at least one System View defined per entity in a Model Driven app so that something can be displayed to the user when they open the table.
  • Daivat Vartak (v-9davar) Profile Picture
    6,784 Super User 2025 Season 1 on at
    Hide All unwanted Views is not possible in app
    Hello Sandeep,
     
    You're encountering a common challenge with Dynamics 365 model-driven apps: the system requires at least one active view for each entity to function correctly. This is why you're unable to remove all views, even if you've removed them from your app's sitemap.
    Here's a breakdown of the situation and how to manage views effectively:
     
    Understanding the Requirement:
    • Default View: Dynamics 365 mandates that each entity has at least one active view. This is often referred to as the "default view."
    • App-Specific Views: Views that you add to your model-driven app's sitemap are the ones that appear in the app's navigation. However, the underlying entity still requires at least one active view.
     
    Solutions:
    1. Create a "Hidden" Default View:
      • Create a New View:
        • Go to Settings > Customizations > Customize the System.
        • Expand Entities > Email (or Chat) > Views.
        • Click New.
      • Name the View:
        • Give the view a name like "System Default (Hidden)" or something similar that indicates it's not intended for regular use.
      • Set Criteria:
        • Don't add any specific criteria to the view. Leave it as a basic, unfiltered view.
      • Save and Publish:
        • Save and publish the view.
      • Remove Other Views from App:
        • Go to the model-driven app editor.
        • Remove all the views that you don't want to appear in the app's navigation.
        • Add only the "System Default (Hidden)" view to the app.
          Explanation:
      • This approach ensures that there's always at least one view available for the entity, satisfying the system's requirement.
      • The "Hidden" view will be present, but it won't be useful for users, effectively removing any functional views from the app's navigation.
    2. Deactivate Unwanted Views:
      • Deactivate Views:
        • Go to Settings > Customizations > Customize the System.
        • Expand Entities > Email (or Chat) > Views.
        • Select the views that you want to hide.
        • Click Deactivate.
      • Explanation:
        • Deactivating views removes them from the user interface.
        • However, the system still requires at least one active view.
        • The "Hidden" view approach is still recommended as the best way to hide views.
     
    Important Notes:
    • System Views: Be cautious when modifying or deleting system views, as they might be required for certain system functionalities.
    • Security Roles: You can also use security roles to control which views users can see.
    • Testing: Thoroughly test your app after making changes to views to ensure that it functions as expected.
     
    By implementing one of these solutions, you can effectively hide unwanted views for your Email and Chat entities in Dynamics 365.
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
    If you have further questions, please feel free to contact me.
     
    My response was crafted with AI assistance and tailored to provide detailed and actionable guidance for your Microsoft Dynamics 365 query.
     
    Best Regards,
    Daivat Vartak

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,459 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

Product updates

Dynamics 365 release plans