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

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.

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

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")

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

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,790)