cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gary919
Frequent Visitor

How a model driven app interacts with embedded canvas apps thanks,

Hello all 

 

I embed two canvas apps into a model driven app, for these two canvas apps, they are used to

 

- First Canvas App: Upload document into library (DocLibrary) , there is one column called “incident-ID”

- Second Canvas App: Display the filtered contents of "DocLibrary"

 

On my model driven app, I have a data field called “incidentID”, I would like to archive

 

  1. When I upload documents, Model driven can pass the value of “ IncidentID “ to “incident-ID” on 1st Canvas Apps, so that the documents store to library with incidentID
  2. 2nd Canvas apps  only display the documents which are filtered by “ IncidentID = Model driven app.incidentID

 

Please suggest how to interact between Model driven app with embedded canvas apps 

 

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions
timl
Super User
Super User

Hi @Gary919 

When you embed a canvas app onto a model driven form, you can access the host record on the Model Driven app through the Model Driven Form Integration control.

In your example, you can access the IncidentID value on your MDA form through the Item property of the Model Driven Form Integration control.

There are more details in the documentation beneath.

https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/embedded-canvas-app-properties-ac...

 

View solution in original post

2 REPLIES 2
timl
Super User
Super User

Hi @Gary919 

When you embed a canvas app onto a model driven form, you can access the host record on the Model Driven app through the Model Driven Form Integration control.

In your example, you can access the IncidentID value on your MDA form through the Item property of the Model Driven Form Integration control.

There are more details in the documentation beneath.

https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/embedded-canvas-app-properties-ac...

 

Gary919
Frequent Visitor

Thanks for sharing it ,  with Model driven form integration, all good now : )

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,881)