cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Unable to send information from sharepoint document library list to PowerApp iFrame embed on Modern sharepoint page

Hi There,

 

We're using managed metadata to tag files in a document library. The SharePoint taxonomy picker is a major point of friction for a few of our employees and they would prefer to use drop downs. In fairness to them i do sympathise, it's a throwback to SharePoint 2010 still now.

 

Powerapps by default provides dropdowns for managed metadata so my solution at present is this:

 

1. I have created a custom json formatted column that links from the document library to a powerapp form in a separate window. using this link to reference the selected file in the doc lib: 

https://web.powerapps.com/apps/**myappid**?ID='+[$ID]

2. The user can pick the metadata in the new browser window and apply it in the powerapp and it applies to the file. The app is set by default to open in the "Edit" screen.

 

Ideally the users would like to be able to complete this process in one window, so i have made a new SharePoint modern page which consists of the  document library webpart and an embed webpart that is connected to the document library.

 

I have tried several different ways to send the document ID to the PowerApp through the embed code but have drawn a blank and am not finding anything useful in my searching. See below:

 

<iframe width="98%" height="98%" src="https://web.powerapps.com/webplayer/iframeapp/?hideNavBar=true&amp;screenColor=rgba%28165%2c34%2c55%2c1%29&amp;appid=/providers/Microsoft.PowerApps/apps/**myappid**?ID=[$ID]"</iframe>

The above embed generates a "That link didn’t work. Please check it and try again. Make sure that your web address is properly formatted and includes an app ID." message.

 

This code opens the page but does not pull up the right item, just a list of all items:

<iframe width="98%" height="98%" src="https://web.powerapps.com/webplayer/iframeapp/?hideNavBar=true&amp;screenColor=rgba%28165%2c34%2c55%2c1%29&amp;appid=/providers/Microsoft.PowerApps/apps/**myappid**"?ID=[$ID]</iframe>

Any help appreciated.

 

Jim

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Unable to send information from sharepoint document library list to PowerApp iFrame embed on Modern sharepoint page

Hi @jimbul 

 

Could you please reference this?

https://wonderlaura.com/2017/04/27/embed-powerapps-on-sharepoint-modern-pages/

 

Best Regards.

Yumia

Highlighted
Advocate I
Advocate I

Re: Unable to send information from sharepoint document library list to PowerApp iFrame embed on Modern sharepoint page

hi @v-yuxima-msft ,

 

I have no problem embedding the power app in a sharepoint page - i cannot connect the powerapp to the list on the same page so the powerapp can be used to edit it in context..... I've put my example in my original query.

 

Yes i've seen this page but it doesn't address my query.


Thank you,

 

Jim

Highlighted
Advocate I
Advocate I

Re: Unable to send information from sharepoint document library list to PowerApp iFrame embed on Modern sharepoint page

@v-yuxima-msft any other thoughts?

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,579)