Conditional view

Hi All,

My app has related to field delivery in which drivers and admin can login:-

I have created Six Primary Views that are listed below:-

Active Job's -> Admin
Driver's -> Admin
Finished Job's -> Admin

Active Jobs -> Driver
Driver -> Driver
Finished Job - > Driver

Now the condition is if Admin login into the app then [Active Job's], [Driver's] & [Finished Job's ] views should be seen
and If Driver login into the app then [Active Jobs], [Driver] and [Finished Job] views should be seen.


Please help me.

Solved Solved
0 5 182
  • UX
2 ACCEPTED SOLUTIONS

You can conditionally show/hide you views by setting the below in your view definition

TeeSee1_0-1643442253740.png

 

View solution in original post

For each slice, just add another condition ANDed with your user name setting such as blelow

AND(USERSETTINGS(USER NAME)=[Driver Name], [STATUS]="Finished")

The above assumes that your table has a col named STATUS and it takes the value "Finished" (and "Pending", of course)

View solution in original post

5 REPLIES 5
Top Labels in this Space