I create a table that has the screens as a column value and then I navigate based on the users selection and bind that to a gallery for a menu.
On button click in the gallery:
If(
!IsBlank(ThisItem.screenname),
Navigate(ThisItem.screenname),
//Perform Refresh
)
Gallery Items:
ClearCollect(tblMenu,
Table(
{
id: 1,
desc: "Home",
screenname: scrHome
},
{
id: 2,
desc: "Request",
screenname: scrRequest
},
{
id: 3,
desc: "Calendar",
screenname: scrCalendar
},
{
id: 5,
desc: "Actuals",
screenname: scrActuals
},
{
id: 6,
desc: "Refresh" //Performs a refresh on all data sources.
}
)
)
------------------------------
Tracy Madison
Sr. Application Developer
Fort Worth TX
------------------------------
Original Message:
Sent: Jun 21, 2022 10:26 AM
From: Ahmed Njimou
Subject: Navigate between screens based on checkbox value on power apps
Hello everyone,
I want to navigate between screen in my application power app, the first screen is this :

And based on the checkbox selected, i want to navigate to it. And also navigate between the for screens if more than checkbox is selcted. For example, if i check the first and the last one, i want to go to the screen of the first one, then the screen of the last one. I want to do all the possibility, i tried this code but it's not working

Can someone help with this please, thank you in advance !
------------------------------
Ahmed Njimou
Database administrator
Neuville-sur-Oise
------------------------------