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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Enable modal form in C...
Power Apps
Unanswered

Enable modal form in Custom Model-Driven App

(0) ShareShare
ReportReport
Posted on 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:
I have the same question (0)
  • Brunno Mesquita Profile Picture
    16 on at

    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 at

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 400

#2
WarrenBelz Profile Picture

WarrenBelz 348 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 315 Super User 2025 Season 2

Last 30 days Overall leaderboard