Skip to main content

Notifications

Small and medium business | Business Central, N...
Unanswered

Change view on page load

(1) ShareShare
ReportReport
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 12,290 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

News and Announcements

Announcing Category Subscriptions!

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,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans