Model Driven Apps are PowerApp applications that are developed based on a data model. Such apps have very limited scope of user experience customizations compared to a Canvas App. However, there are ways where we can embed a Canvas App into a Model Driven App to incorporate a better user experience in a Model Driven App.
Pre-requisites
This article assumes that the readers have fundamental knowledge of Microsoft Dataverse and Model Driven App. If you have not worked with them, then it is recommended to familiarize yourself with these concepts to better understand this article. Additionally, please ensure that you have a PowerApp Environment with Dataverse enabled.
Getting Started
Following are the initial components we will consider for our scenario where we will try to put a static text on a Form in Model Driven App.
- PowerApp Environment with Default Dataverse Tables
- PowerApp Solution
- Account Table
- Model Driven App
For any Power Platform based implementation, it is recommended to create a solution, so that all the related components can be packaged and moved together from one environment to another. So, let’s start by creating a solution for our scenario as well.
Step 1
Navigate to here.
Step 2
Go to Solutions -> New Solution. Set the solution properties as follows and click on “Create”.
|
Display Name
|
Embed Canvas App
|
|
Publisher
|
CDS Default Publisher
|

Step 3
Open the newly created solution. Click on New -> App -> Model Driven App

Step 4
Give the Model Driven App a suitable name and click on “Done”.
Step 5
In the App, edit the “Sitemap Designer”.
Step 6
Set the New Area property as follows, then Save and Publish the “Sitemap Designer” changes.
|
Type
|
Entity
|
|
Entity
|
Account
|

Note
You will see that the entity added in the Sitemap Designer is now available in the Entity View of the Model Driven App.

Step 7
Save and Publish the app.
Step 8
Next, we will add the Account entity to the App. Go back to the solution and click on Add Existing -> Table












Sajeev SivaPosted Apr 21, 2022, 12:05 PM
I am having a problem integrating a canvas app into a model-driven app form. It is working fine while the app is on online mode but not loading the integrated canvas app in offline mode. could you please advice?