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

How to pass host Model Driven App record name to Embedded Canvas App look up field of that host record?

Hello Everyone! I am working on building an embedded Canvas App on the contact record in a Model Drive App that allows the user to fill out an assessment via the canvas app for the contact. Inside the canvas app, I have an editable form of the entity wc_assessment that has a lookup field to contact. I am trying to figure out how to have that field auto populate based off the contact record the user is currently working on. 

 

Ideally, ModelDrivenFormIntegration.Item in the default section of the Contact Data card in the Canvas App should work but I have struggled to get it to work. I have seen problems associated with Model Driven Form Integration and having to have a timer that refreshes the data on the canvas app but that hasn't worked for me. I am really out of ideas so any help would be greatly appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
Frequent Visitor

I was able to solve my issue by embedding my canvas app as a field control rather than an iframe to be able to take advantage of the ModelDrivenFormIntegration properties

View solution in original post

1 REPLY 1
Frequent Visitor

I was able to solve my issue by embedding my canvas app as a field control rather than an iframe to be able to take advantage of the ModelDrivenFormIntegration properties

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (13,926)