Announcements
The page reloads because navigating to a model-driven form breaks the custom page state
Save your filters before navigating:
Set(gblSearch, SearchInput.Text);
Set(gblFilter, FilterDropdown.Selected.Value);
Navigate(ThisItem, {Page: 'DataverseTable (Forms)'.Form})
Then in your custom page OnVisible, restore them
UpdateContext({locSearch: gblSearch, locFilter: gblFilter})
Best regards, Valantis
✅ If this helped solve your issue, please Accept as Solution so others can find it quickly. ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :). 🏷️ For follow-ups @Valantis. 📝 https://valantisond365.com/
💼 LinkedIn
▶️ YouTube
Just wanted to check in and see if everything is working now. If you still need any help, feel free to let me know.
Also, if the issue is resolved, it would be great if you could mark the answer as solved so others with the same question can find it easily.
Thanks and have a great day!
Hello,
Unfortunately, using global variables with Set() does not persist values when navigating from a custom page to a model-driven form. When users click the back button to return to the custom page, it reloads fresh and all variables are cleared. As an alternative, I added a text column in the Dataverse table to store the values. When users click the reset button for filters, it clears the values in that column. This is a temporary solution, but it has been working well so far. I’m sure there’s a better approach, but as I’m still new to this, this is the best solution I’ve been able to implement.
Set()
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 392
WarrenBelz 364 Most Valuable Professional
Kalathiya 271 Super User 2026 Season 1