cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Launch Power App in Browser with Parameters

Is there a way to laucnh a PowerApp via the browser URL with parameter that will change how the app behaves? 

 

i.e. 

 

https://web.powerapps.com/webplayer/app?source=portal&appId=%2fproviders%2fMicrosoft.PowerApps%2fapp...]

14 REPLIES 14
Highlighted

This works in browser too but due to a bug the parameter name and value will be lowercased.  If you use Param("param1") with parameter name in lower case, you should be able to retrieve it.

Highlighted

Hi Chris, 

 

Thanks for the reply. I'm still not having trouble retrieving parameters.

 

This is the code that I"m using to pass 2 parameters called "parOrderNo" as "100001" and "parLine" as "bp1"

 

 

Launch("https://web.powerapps.com/apps/b7fc3346-59fe-667d-7006-22a795e85b9d","parLine", "bp1", "parOrderNo", "100001")

Appreciated if you can have a look and let me know if I'm doing anything wrong. Thanks in advance.

 

Cheers,

Anton

Highlighted

Hi Anton,

 

Sorry for the inconvenience.  I just tried this and indeed, the Launch function does not append the parameters to the URL as it should.  I filed a ticket with the product team.  Until that is addressed, you could construct your Launch function as follows (just replace the strings "bp1" and "100001" with their respective variables assuming you keep them in variables):

 

Launch("https://web.powerapps.com/apps/b7fc3346-59fe-667d-7006-22a795e85b9d?parLine=" & "bp1" & "&parOrderNo=" & "100001")
Highlighted

Quick update: this is going to be fixed in the coming release.

Highlighted

Hey Chris,

 

Thanks for your help. I just copied and pasted your code but still having no joy. I'll wait till it gets fixed. 

Would be great if you can let us know roughly when the next update is going to be released on.

 

Cheers,

Anton

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

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