An expression to dynamically select the starting view for the app

Hello everyone

Is there a good expression that sends each user to a specific view once opening the app.

>> For example, if there are 

โ–บsellers table that includes seller name and email. (email is an id)

โ–บDrivers table that includes driver name and email. (email is an id)

โ–บCoordinators table that includes coordinator name and email. (email is an id)

>> and there are 3 views...

โ–บseller view

โ–บDriver view

โ–บCoordinator view

 

>> so the pseudocode of the expression is like this:

If login email = seller email

open seller view

&

If login email = driver email

open driver view

&

If login email = coordinator email

open coordinator view

 

any hint plz, Thanks 

 

 

 

Solved Solved
0 2 332
1 ACCEPTED SOLUTION

There's IFS() or SWITCH()

https://help.appsheet.com/en/articles/2355961-ifs

https://help.appsheet.com/en/articles/2355972-switch

Are you aware that the starting view only works for the very first time an app is opened on a device? Every other time it is opened, it returns to the most recently seen view.

View solution in original post

2 REPLIES 2

There's IFS() or SWITCH()

https://help.appsheet.com/en/articles/2355961-ifs

https://help.appsheet.com/en/articles/2355972-switch

Are you aware that the starting view only works for the very first time an app is opened on a device? Every other time it is opened, it returns to the most recently seen view.

@Marc_Dillon 

Thank you very much

if it is like this then no need to do anything

 

Top Labels in this Space