Like many of us, I have an app that is set up to deep link users to one of several screens depending on a URL parameter. Now, most YouTube tutorials suggest doing this with a Switch() function on the url parameter in App.StartScreen. Eg:
Switch(Param("screen"),"2",Screen2,"3",Screen3,"4",Screen4,"5",Screen5,"6",Screen6,Screen1)
On this run, there was no url parameter, but every screen in that Switch loaded in anyway, before finally dropping onto the expected screen:
Now imagine a normal app, where each screen has its own controls, perhaps a gallery or two, maybe some forms. ALL of them being loaded in when the app starts up....! You're going from maybe a dozen actions to potentially thousands before the user has even done anything.
If(!IsBlank(Param("screen")),Select(Button1))
Button1 OnSelect:If(Param("screen") = "2",Navigate(Screen2),Param("screen") = "3",Navigate(Screen3),Param("screen") = "4",Navigate(Screen4),Param("screen") = "5",Navigate(Screen5))
Power Apps team - please revert whatever change you made to this, or better still - FIX STARTSCREEN SWITCHING.

Report
All responses (
Answers (