Recently we had a requirement to launch different screens to different users depending upon the user issue.
User creates an issue and by using Microsoft Flow it processes the data and sends specific Powerapp's URL.
If the User Issue is A, when the user clicks on the Powerapp's URL, it has to launch Screen A.
If the User Issue is B, when the user clicks on the Powerapp's URL, it has to launch Screen B.
Here's how we have done that.
With in the Microsoft Flow when the User Issue Type is A then "&ScreenID=1" and if the User issue Type is B then "&ScreenID=2" is appending to the Powerapp URL.
With in powerapp, On start property of app write following formulae.
Switch(startScreen, "1", Navigate(Screen1),"2",Navigate(Screen2));
In the above formulae, we are reading the ScreenID parameter and depending upon its value, we are navigating to the corresponding screen.
Hope this helps someone who is looking for this.
In this case, you will only be able to navigate to a specific screen through URLs generated by Automate, but what about normal user that open this app by clicking "Run" on PowerApps?
Since Web URLs that PowerApps offer do not have any "Params", Param() should bot be able to work.
My question is how to not only use Param() to navigate to specific screens but make it works when there is no parameters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.