Announcements
Hi.
I am trying to get a Form Page "Main" (type "Main") to open as the default page when the App starts. However, it always goes to a View page - does anyone know how to do this? Possibly a redirect of some sort?
Thanks.
John.
Hello, @johnguilbert191, there is nothing OOB that can achieve your requirement. But, you can use JavaScript to open a dialog with specific record. Remember: Forms only show one record information. Are you trying to open the form in a create mode?
Meanwhile, here is the JavaScript that you can use:
https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/xrm-navigation/navigateto#example-2-open-an-existing-account-record-within-a-dialog
And here is this article for how you configure the event handler:
https://xrmtricks.com/2021/05/07/how-to-run-javascript-code-when-loading-a-model-driven-app/
If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more.
I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.
Visit my Blog: www.powerplatformplace.com
@johnguilbert191
In addition to what @AhmedSalih mentioned you can use URL addressable forms, as per the below article:
https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/open-forms-views-dialogs-reports-url#url-addressable-forms-and-views
(Peronalization) Personal settings (per user) has a setting where you can default the Area and subarea - the downside of this is it is per user and by default the individual user can change them later, not sure but you may be able to set them all via XrmToolBox (has a plugin that can set other personal settings - just not sure about these ones) or Flow.
Hi @johnguilbert191 ,
As Ahmed mentioned that is not support but you can do a workaround on the load of View to redirect you to the target form, please check that Call JavaScript Methods Globally Over Dashboards, Home Grids, and Record Forms. – nijos.dev.
then once you have created the button you can make it redirect to the main form by JS code.
Hope this helps, please accept if answers your question or Like if helps in any way.Thanks,Emad
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 505
WarrenBelz 502 Most Valuable Professional
Haque 324