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

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
Frequent Visitor

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
Frequent Visitor

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
Frequent Visitor

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
Frequent Visitor

Re: Pass Parameters in iframe embedded powerapp (sharepoint)

Awesome, thank you so much! 

Power Apps
Power Apps

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
Frequent Visitor

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
Frequent Visitor

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (9,351)