cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TMadden
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
TMadden
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
TMadden
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,033)