Open PowerApps from Inside Dynamics 365 CRM

By | May 31, 2019

Introduction:

PowerApps applications were developed for showing the Dynamics 365 CRM entities. To use these applications, it was opened outside Dynamics 365 CRM.

But, there is a way to open these Apps from inside the Dynamics 365 CRM.

Actually, every developed PowerApps application has its own web link and through this web link we could see Apps from inside Dynamics 365 CRM.

Given below are the steps to see the apps from inside Dynamics 365 CRM.

1. Go to Apps section in the Power Apps.

Open PowerApps from inside the Dynamics 365 Customer Engagement

2. Select the App which you want to open from the CRM and select the “…” more options button and click on Details.

Open PowerApps from inside the Dynamics 365 Customer Engagement

3. Once you click on Details, you will see the unique web link of the App.

Open PowerApps from inside the Dynamics 365 Customer Engagement

4. So, we can just open that Web Link from the CRM by clicking the Ribbon button.

You can also see that we have added a button on the dashboard and by clicking it we can open the PowerApps application.

Open PowerApps from inside the Dynamics 365 Customer Engagement

5. After clicking the button, we need to write a javascript function to open the PowerApps by using the web link.

Open PowerApps from inside the Dynamics 365 Customer Engagement

Conclusion:

As illustrated above, PowerApps applications can be opened inside Dynamics 365 CRM.

Hope this helps!

PowerApps

2 thoughts on “Open PowerApps from Inside Dynamics 365 CRM

  1. Timothy Bohte

    Thanks for sharing!
    Is it possible to make the PowerApp solution aware of Dynamics?
    For example, when I’m on a case record, that the PowerApp shows the data of that record.

    Reply
    1. inogic Post author

      Yes, it is possible to show the data of the corresponding case record in PowerApps.

      For this, you need to pass the query string parameter to web link of the power app and open the Power App from the case record of Dynamics 365 CE.

      Suppose, pass the Case Number and open the Power App with respecting passed Case Number data in the Power App. You can use below sample URL.

      https://apps.powerapps.com/play/1b6b5409-21e8-4278-a4a6-b4318701912c?tenantId=adz5a59b-8ee6-41f2-a66b-0b4bf16a39k1?CaseNumber=CAS-01255-Y9M9B7

      Syntax: Web Link+Query String parameter

      In the above URL, “Case Number” is query string parameter that I have passed Case Number.

      In the Power App, you can read the parameter value using Param(“CaseNumber”) function, so based on this you can filter the data in the power app and show the corresponding data on the FORM.

      You can see filtering case data with the passed query string parameter:

      PowerApps

      Hope this helps.

      Thanks!

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *