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:
When using the default solution, it appears in a "pop-up" dialog box:
My question is: How to reproduce the same effect in my custom app?
Thank you,
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.
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:
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."
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473