Hi @Tuomas ,
You cannot refer to elements such as screens dynamically, but if you had a collection (example only) run at App OnStart
ClearCollect(
colScreens,
{Item: "Main", ScreenName: MainScreen},
{Item: "Browse", ScreenName: BrowseScreen},
{Item: "View", ScreenName: ViewScreen}
)
You could do this
With(
{
wScreen:
Lookup(
colScreens,
Item = NavigationLable.Text
).ScreenName
},
Navigate(wScreen)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps