Hi everyone, have a general question about embedding Canvas apps to a Model driven app.
I added an existing Canvas app to a Model driven app form by using the AppId as a static value in the classic mode. I then clicked Customize to get to the Canvas App Studio where I added a label and set it to ModelDrivenFormIntegration.Item.'Field name'. But I get an error, 'Name isn't valid'. So I changed it to ModelDrivenFormIntegration.Item and added a dot, but get no suggestions of available fields to choose from.
I then created a new Canvas App from scratch on the same form but on a different tab. Clicked Customize again and added a label and set it to ModelDrivenFormIntegration.Item.'Field name'. Worked perfectly. I tried with ModelDrivenFormIntegration.Item also and added a dot, a list with all of the available fields from the table are presented and available to choose from.
So my question is, because it's not clear from the Microsoft documentation, should I interpret this as if I want to use the ModelDrivenFormIntegration functionality in an embedded app then I always have to start with creating a new Canvas app from scratch?
Thanks.
Thanks @timl for the clarification.
Hi @POJA85
Yes, that's correct. To access the ModelDrivenFormIntegration item, it's necessary to create a Canvas app from the area of the classic mode designer that you mention.
I get how this isn't clear from the Microsoft documentation, but hopefully this post will help others who might be searching for the same information.
On a slightly related note, this behaviour is consistent with SharePoint in that if you want to customise a SharePoint list, the 'SharePoint integration item' is only available in a canvas app when you create an app directly from SharePoint.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.