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 188
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