Business Applications, dynamics 365, PowerApps, Uncategorized

Converting an existing Canvas App into an Embedded Canvas App on a Model-Driven App’s Form

Start with the article here 

And here to understand the concept of embedded Canvas Apps

Now… How do we embed an existing Canvas App? Do we have rebuild it from scratch following the steps described in the articles above? Thanks to Microsoft, not.

  1. Open the existing Canvas App in the editor.ce1
  2. Click App settings then Edit app name.ce2
  3. Copy App ID and store it for the future.ce3
  4. Open Account form on a Dynamics 365 instance. For the text field on the form Field Properties -> Controls tab click Add Control.ce4
  5. From the list of controls select Canvas app. Click Add.ce5
  6. Click on the Edit icon to edit App ID.ce6
  7. Paste the existing Canvas App App ID here then click OK.ce7
  8. Click on the Customize button to open the editor.

ce8

9. You’ve got the context passed to the Canvas App now. ModelDrivenFormIntegration. Data contains the list of records, in our case – just one.

ce9

10. Still, we use First() to get the only record in the list and Name property to display on the form.

ce10

11. This is how it looks inside a model-driven app.

ce11

Now embedded.

All credits goes to Ravi Mukkelli. Check his blog to learn more about some cool Dynamics 365 and PowerApps stuff.

 

2 thoughts on “Converting an existing Canvas App into an Embedded Canvas App on a Model-Driven App’s Form”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s