Passing parameter in embeded canvas application.

Hello Guys,

In our previous blog we have seen how we can embed canvas app in model driven application. Today we will see how we can pass parameters to canvas application from model driven app.



Do follow us to know more about Dynamics and Power Platform. Also if you like our blog then please comment and share this blog with your friends.

We will be working with the same canvas app which we have created in our previous blog.



As you can see we have embedded our canvas application in a model driven app. Now we want to access some data of model driven app. For example we want to display Account Name in canvas application or we want to use account GUID which we can use to query other columns in canvas application. 

To achieve this open the Account Form in classic mode.



As you can see we have Document Number column. Now go to the properties of this column and click on control tab and select canvas app.



Now click on customize button which will open a new tab as shown below:



Now here you can see there is a one control named ModelDrivenFormIntegration has been added. We can use this control to access Model driven data. 

Let's see how to achieve this. Here we will display current record's account name.

Select label control and in Formula bar specify below formula.



Save the changes and publish the canvas app. 

Now refresh the Account Form on model driven app.



As you can see we are able to access Account Name on canvas screen.


Hope it helps...





Comments

Popular posts from this blog

Read Only Sub Grid & Editable Sub grid in Dynamics 365

Understanding Sales Process in D365.

Understanding Business Unit in Dynamics 365.