web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / Dynamics 365 Point / Embedded Canvas App into Da...

Embedded Canvas App into Dashboard Dynamics CRM 365

Joseph Macwan Profile Picture Joseph Macwan 65

DESCRIPTION

Power app is a powerful tool for Dynamics CRM Development services. In this blog, we will develop Power App and integrated it into Dynamics CRM Dashboard. When the user/CSR logs in to the dashboard, it will see the record that is assigned to the user.


After the development gets completed, we will see the below output.

1104.png

Step 1

Go to https://make.powerapps.com and create a blank Canvas App save that app with name.
In this example “Show All Account with Contacts”.

0842.png

5751.png

Step 2

Click on the App menu and select OnStart Action, then add the following code.

5078.png

Step 3

Insert the Data table from the menu adds into to the canvas app add the below code in the data table Item properties.

In this example Data table name “tblAccount

4478.png

4606.png

Notes - AsType(Owner,users).User it lookup reference of User Entity.
For more information:- AsType and IsType functions in Power Apps

Step 4

Add the columns into the data table, we will this all record which assigns to me.

7.png

Step 5

Add Reload Icon into canvas app which can use for refresh/ to see latest record for the user.

8.png

Step 6

Click on Reload icon and add the below code in Select Action.

9.png

Step 7

Add the label to next to Reload icon it will show login user name and assign the variable Full name into Text properties of label

In this example “Rohit Kumar”

10.png

Step 8

Add one label to put header of App.

11.png

Step 9

Save all the change of App then Publish it.

Step 10

Create a new web Resource name “Canavasapp.html” into Solution “Canvas App” and below code.

12.png

13.png

14.png

Step 11

We also required an app scheme name. We can get this into the solution “Canvas App". This Scheme name we used in the HTML page below the line of code.

15.png

16.png

Step 12

Now we are going to add web Resources into Dashboard.

Advanced Settings-> Customizations->Customize to System->Dashboard-> Select Microsoft Dynamics 365 Overview -> Click insert Web Resource.

17.png

Step 13

Add the Web Resource into Dashboard and publish it.

18.png

UNIT-TESTING

Navigate to Dynamics 365 CRM and select Microsoft Dynamics 354 Overview Dashboard.

19.png

Comments

*This post is locked for comments