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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Embedded Canvas Apps Calling Custom Page Modal Dialogs

(0) ShareShare
ReportReport
Posted on by 130

Hi everyone,

This is related to Dynamics as well as Power Apps, so hopefully it's the right place. 

 

We recently had a requirement to open a custom page as a modal dialog, from a canvas app embedded on a model-driven app form. 

 

I had a good search around but couldn't find any way of doing it directly within the Canvas App using PowerFX. I also couldn't find a way to run Javascript from within the app, utilising the Client API navigateTo.

 

In the end I've created a button on my embedded canvas app form, which patches a yes/no choice field on the main form (hidden from users). I then register a Javascript function to open my dialog for the onChange of that field.

 

It works, but feels clunky as anything. Has anyone had a similar requirement and a different way of doing things (or any ideas)?

 

Kind regards,

Matt Taylor

I have the same question (0)
  • Leah Ju Profile Picture
    Microsoft Employee on at

    Hi Partner,

    Yes.

    As an known issue, we can't open dialog through Navigate function now:

    • The Navigate function doesn't have support for opening a model or custom page to a dialog. All navigation from a custom page opens inline.

    https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/page-powerfx-in-model-app#known-issues 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 60 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 51

#3
Satyam Prakash Profile Picture

Satyam Prakash 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans