Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Unanswered

Change view on page load

Posted on by 82
Hello everyone,
 
I would like to change the default view (All) in the OnOpenPage triger of the project page to another one that has been created by us. I know that I can set the same filters with SetRange and SetFilter but the name of the filter is still All and I want it to be Opened (Rospa). That is, I want to simulate the user clicking on the custom view, not change the default view. The environment is OnPremise and version 16:
 
 
Is it possible?.
 
Regards
  • MiguelRospa Profile Picture
    MiguelRospa 82 on at
    Change view on page load
    Thanks for your reply. I've already seen that page but it doesn't solve my problem, so I'm writing on the forum. On that page a new window or a pop-up window opens on the same page. I want to change the selected view in the OnOpenPage event. I've seen in this thread (https://community.dynamics.com/forums/thread/details/?threadid=d3387e4d-eecf-ee11-9079-0022482447f6) that it seems you might know how to do it: "So if you want to have a default view, in the open event of the page you could apply the desired filter."
     
    Could you help me?
     
    Regards.
  • gdrenteria Profile Picture
    gdrenteria 9,942 Most Valuable Professional on at

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,570 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,683 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans