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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (1,389)