Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Customized form views

(0) ShareShare
ReportReport
Posted on by 343
Hello, does anyone know how you can load specific saved user views in a form ? It appears that everything needed is private or internal.  I found this (Build forms that fully utilize saved views - Finance & Operations | Dynamics 365 | Microsoft Learn)  but that doesn't seem to work either.
 
Best regards
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,419 Super User 2024 Season 2 on at
    Customized form views
    Hi Frank,
     
    Potentially, the current behavior can be explained by having a query passed to the form from the menu item. I just tried this in an environment having a preview of 10.0.39 applied. I then get a warning about a query conflict and you can choose to load the preferred query. In case this is not sufficient for you, you can try to find where Microsoft is generating the link to load the correct query and call the logic yourself.
     
  • Frank Bruemmer Profile Picture
    Frank Bruemmer 343 on at
    Customized form views
    Thanks, I know where 'they live'. I'm trying to load a specific view during the forms init() call. It appears that Microsoft butchered the standard functionality on the ProjProjectsListPage form, where I can load the default view for the user, but the actual filters are cleared and show only when one switches between views.
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,419 Super User 2024 Season 2 on at
    Customized form views
    Hi Frank,
     
    There are some saved views stored as resources and deployed to all users with help of some x++ coding. The class EcoResSavedViewSysSetup is having an example how to deploy saved views. 

    If you already have a saved view, an administrator can use the form Personalization to copy saved views or publish them as an organization template.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,419 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,492 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans