Is there a way to laucnh a PowerApp via the browser URL with parameter that will change how the app behaves?
i.e.
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.
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
User | Count |
---|---|
195 | |
123 | |
86 | |
48 | |
40 |
User | Count |
---|---|
281 | |
165 | |
139 | |
80 | |
76 |