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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (18,020)