Is there a way to laucnh a PowerApp via the browser URL with parameter that will change how the app behaves?
Solved! Go to Solution.
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.
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.
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")
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.