cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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.

Highlighted
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?

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.

Highlighted
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.


 

Highlighted
Frequent Visitor

Re: Pass Parameters in iframe embedded powerapp (sharepoint)

Awesome, thank you so much! 

Highlighted
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.

Highlighted
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

Highlighted
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
Check this Out

Announcing

Class of 2020- Season 2

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

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,730)