cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerApps Staff cherie
PowerApps 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! 

PowerApps Staff cherie
PowerApps 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

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,746)