logo
Documents & Forms
Microsoft 365 & SharePoint Tools
Classic SharePoint Tools
Forms
Apr 18, 2017
How to add PowerApps to SharePoint page
Anton Khritonenkov
Anton Khritonenkov
CEO and Co-Founder @Plumsail

Adding PowerApps to pages has been a hot topic for a while. Embedding PowerApps to pages enables new scenarios for end-users. It was impossible just a week ago, but now you can embed an app to a SharePoint modern page. I will show you how to do that below.

One of use cases is a self-service desk form. This is how my form looks:

1

Ability to embed PowerApp to a page is a great improvement, but it still has disadvantages. An app is embedded as an IFrame. It means that the web part is not responsive at all. It may be critical in “Mobile first” world. Anyway, you still can install PowerApps mobile client and use your app there without visiting your SharePoint site.

This is how my app looks on small screen. The double scroll is not the best user experience. It may be painful to use a form like this for users with small screens or tablets.

2

If you want responsive form within SharePoint context, you may consider an option to use other third party solutions like Plumsail Forms.

Now let me explain how to add the app to a SharePoint page.
First of all, open list of your apps (https://web.powerapps.com) and navigate to app details:

3

Then copy your App ID:

4

Replace [AppID] in the snippet below:

<iframe width="98%" height="98%" src="https://web.powerapps.com/webplayer/iframeapp?hideNavBar=true&source=powerbi&screenColor=rgba(165,34,55,1)&appId=/providers/Microsoft.PowerApps/apps/**\[AppID\]**"/>

You may notice that there is screenColor parameter in the snippet. I assume that it has to change the background color or the app, but it changes nothing.

Create a new SharePoint modern page and add “Embed” web part:

5

Paste the snippet into web part properties.

That is all! Now you can use your PowerApps on SharePoint page.

If this article was helpful to you, please do hit the 💚 button below. Thank you!

Note: The post has been originally published at Medium:
Have any questions?
Join our community or contact the support team: