Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Transform Embedded Canvas Power App into Pop-Up

Posted on by 3,962

Hello,

 

I'm working with an embedded Canvas Power App in Dynamics 365 for Sales (a model-driven Power App). The embedding works fine, but I would like to switch it to a pop-up dialog. I can create a button and call the app without a problem, but I don't know what parameters to pass to get the ModelDrivenFormIntegration to work. 

 

Is there a way to do this?

 

Here is my attempt to pass the URL and parameters using the Ribbon Workbench:

Ables_0-1596385163902.png

 

Thank you!

 

Geoff Ables

  • Suggested answer
    crobbins100 Profile Picture
    crobbins100 4 on at
    Transform Embedded Canvas Power App into Pop-Up
    If you convert the app to a Custom Page instead of a Canvas App you can embed it or you can use it as a pop-up. You should be able to copy and paste the controls across to the Custom Page from the Canvas App you have to get there. Passing the right parameters for the custom page is then done with javascript and is limited to the entityname and recordid. 
    Navigating to and from a custom page in your model-driven app using client API - Power Apps | Microsoft Learn
  • RE: Transform Embedded Canvas Power App into Pop-Up

    You won't be ModelDrivenFormIntegration from ribbon so passing parameter as URL is the right way to do it.

  • ShannonCRM Profile Picture
    ShannonCRM 496 on at
    RE: Transform Embedded Canvas Power App into Pop-Up

    I have a bad feeling you might have to rewrite it if you no longer want to embed it (if you mean embedded it by connecting it to a field on the form).  As I recall, an embedded app can't be transferred to a regular powerapp and vice versa.  So, when I built my most recent app, I made it a regular PowerApp that I could call to open in a window/tab.  Then when the users wanted to embed it into the form instead, I just turned it into an iframe (to which I passed the parameters using javascript).  

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans