web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : SF7bE/5/eR/h56KPfV2woK
Power Apps - Building Power Apps
Unanswered

Enable modal form in Custom Model-Driven App

Like (0) ShareShare
ReportReport
Posted on 9 Nov 2023 15:08:31 by 16

Hi all.

 

I have created a Custom Model-Driven app based on the D365 Sales Hub app. I had to do that so I could disable modules and functions. In my solution, as best practice, I only imported the fields/entities/components that would be customised/used.

 

I want to enable in my custom app the same modal display that the Default app contains. Please look below.

 

My app, when I hit the "Appointment" button, for example, drives me to a fullscreen form page:

 

Brooxelas_0-1699542338192.png

 

When using the default solution, it appears in a "pop-up" dialog box:

 

Brooxelas_1-1699542385834.png

 

My question is: How to reproduce the same effect in my custom app?

 

Thank you,

 

Categories:
  • Brunno Mesquita Profile Picture
    16 on 10 Nov 2023 at 19:13:34
    Re: Enable modal form in Custom Model-Driven App

    Hi @MudassarSZ365 , thanks for your answer. But, that did not help a lot. 

    1. I couldn't find the "Main Form Dialog" setting anywhere in the new or on the classic editor version. 

    Brooxelas_1-1699643459169.png

     

    2. With further research, I now tend to understand that it requires an OnLoad event handler in the form, but I could not identify what is neither I could write the code myself and link it to the form .JS components. (this: Navigating to and from a custom page in your model-driven app using client API - Power Apps | Microsoft Learn)

     

    3. In the classic editor, comparing my Custom Solution with the Sales Hub one, I tried to find possible components that would match by name, but couldn't:

    Brooxelas_0-1699643309029.png

     

     

     

  • MudassarSZ365 Profile Picture
    591 on 09 Nov 2023 at 20:29:08
    Re: Enable modal form in Custom Model-Driven App

    Hi @Brooxelas ,

    Check the entity's "Main Form Dialog" setting and enable it if necessary.
    Review the custom app settings for any modal dialog options.
    Ensure the correct form is designed for modal experience.
    Use the app designer to inspect the button properties for the 'Appointment' entity.
    Update your app to make sure it incorporates the latest features and settings.
    If these don't work, consulting Microsoft's documentation or seeking support might be required.

    If this works for you, please mark it as the "Accepted Solution."

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete