cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Power Apps Staff cherie
Power Apps Staff

Re: Pass Parameters in iframe embedded powerapp (sharepoint)

@searopecan you please collect a session id? alt + right click on the powerapps frame should provide it to you.

jrideoutswca
Level: Powered On

Re: Pass Parameters in iframe embedded powerapp (sharepoint)

I'm running into the same issue. I can't seem to get the embed code to work as expected. Can anyone share an example of the iframe code with a passed parameter?

searope
Level: Powered On

Re: Pass Parameters in iframe embedded powerapp (sharepoint)

I've ended up using Embed web-part which allows passing the parameters to my PowerApp

The URL should look like 

<iframe width="1024px" height="575px" src="https://web.powerapps.com/webplayer/iframeapp?source=iframe&amp;screenColor=rgba(104,101,171,1)&amp;appId=/providers/Microsoft.PowerApps/apps/YOUR_APP_ID&amp;PARAM1=VALUE1&amp;PARAM2=VALUE2"></iframe>

I've tweaked the iframe's width and height to show my app as needed.

searope
Level: Powered On

Re: Pass Parameters in iframe embedded powerapp (sharepoint)

Since it's not visible on the page there is nothing to ALT-click on ))

 


@cherie wrote:

@searopecan you please collect a session id? alt + right click on the powerapps frame should provide it to you.


 

jrideoutswca
Level: Powered On

Re: Pass Parameters in iframe embedded powerapp (sharepoint)

Awesome, thank you so much! 

Power Apps Staff cherie
Power Apps Staff

Re: Pass Parameters in iframe embedded powerapp (sharepoint)

@searopeif you could private message me your full url i can look up the logs that way.

petelimbrick
Level: Powered On

Re: Pass Parameters in iframe embedded powerapp (sharepoint)

Thank you very much for this. Excuse my ignorance as I'm just starting to use PowerApps but how do you pick up the parameter in PowerApps? Everything I've tried doesn't work.

 

Currently I've got an OnStart for the app saying:

 

Set (PageNamem Param(PageName)) - Obviously PageName is the name of my parameter that I have passed using your Embed code example.

 

Hope you can help.

 

Regards

 

Pete

Highlighted
petelimbrick
Level: Powered On

Re: Pass Parameters in iframe embedded powerapp (sharepoint)

I have exactly the same problem.

 

My session id is 783a38db-30cb-4253-8cc4-7782edb3515d

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (3,487)