cancel
Showing results for 
Search instead for 
Did you mean: 
AhmedSalih

Embed Canvas App into Model-Driven app Full Tutorial

Tutorial Video

 

USE CASE
Integrate a Canvas App inside a Model-Driven App Form to create and edit a signature field.

TOOLS
Dataverse
Model-Driven App
Canvas App
ModelDrivenFormIntegration Control

DESIGN
We have two Dataverse tables: Executives Accounts Table that will be used to create a Full name and ID for new Accounts. The other table is the Signatures table which will hold the Signature title and the signature value which is in base 64 format. The relationship between the two tables is 1 to N, where the Executives Account is the One side of the relationship and the Signatures table is the Many side of the relationship.

IMPLEMENTATION

Create the tables and the relationship
Create the Form for the Executives' table
Create the Canvas App
Create the Model-Driven App
Add the Canvas App to the Executives Table Information Main Form

Create the tables and the relationship

AhmedSalih_0-1675961261961.png

AhmedSalih_1-1675961292670.png

AhmedSalih_2-1675961320269.png

 

Create the Form for the Executives' table

AhmedSalih_3-1675961365135.png

AhmedSalih_4-1675961392960.png

 

Create the Canvas App

AhmedSalih_5-1675961427863.png

AhmedSalih_6-1675961444669.png

AhmedSalih_7-1675961462556.png

AhmedSalih_8-1675961480469.png

 

Create the Model-Driven App

AhmedSalih_9-1675961525694.png

 

Add the Canvas App to the Executives Table Information Main Form

AhmedSalih_10-1675961563887.png

 

 

 

 

 

 

 

 

 

 

 

 

Comments

Thanks, this was helpful. 

 

Regarding the ModelDrivenFormIntegration control, I have found that you can also add it to an existing Canvas app by opening it in the editing studio and appending this to the end of the URL, then refreshing: 

&source=ModelDrivenFormIntegration&is-hosted=true