Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

How do I get the current URL's query parameters in an embedded powerapp?



I'm fairly new to power apps so I'm not sure if this isn't something that can be done or if I'm just not looking for the right thing. 


The app I am currently building is embedded in a sharepoint page. I'm trying to use query parameters to navigate the power app to different screens and perform an action on the user id passed in. I've tested the functionality by going straight to the web link for the power app and things are working. I'm using the param function but from what I've read that is actually looking at the iframe's URL. Is there a way to tell the power app to look at the browsers URL instead of the iframe? 


A little more detail on the process, I am trying to acess the pwoer app from a link, this link will have the screen destination and a user id. Once the power app navigates I need to use the user id for some extra business logic. A lot of the suggestions I've seen are talking about adding the query parameters to the web link when I add the power app to the page. But that won't work for me as the user id's will constantly be different.




Any help would be appreciated 


Community Support
Community Support

Re: How do I get the current URL's query parameters in an embedded powerapp?

Actually I don't think currently this is achieveable.

Please consider rise it as an idea.


As the param() function states:


The Param function retrieves a parameter passed to the app when it was launched. If the named parameter wasn't passed, Paramreturns blank.


Here we could only use the launch() to pass parameters to another App when launching it, within the Embedding scenario, there is no way that I am aware of to pass the URL parameter into the Embedding App.




Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

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!


Return to Workplace

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


Super Users Coming in August

We are excited for the next Super User season.


Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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