Skip to main content

Notifications

Power Apps - Microsoft Dataverse
Unanswered

How do you set the default page on a Model Driven App?

(0) ShareShare
ReportReport
Posted on by 83

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.   

Categories:
  • EmadBeshai Profile Picture
    EmadBeshai 806 on at
    Re: How do you set the default page on a Model Driven App?

    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

  • Fubar Profile Picture
    Fubar 7,675 on at
    Re: How do you set the default page on a Model Driven App?

    (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.

    Fubar_0-1678142442344.png

     

  • Mira Ghaly Profile Picture
    Mira Ghaly 11,409 on at
    Re: How do you set the default page on a Model Driven App?

    @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

     

  • AhmedSalih Profile Picture
    AhmedSalih 6,678 on at
    Re: How do you set the default page on a Model Driven App?

    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


     

     

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,434

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard

Featured topics