Expression won't work in Show-if

Hi,

On my app I have a menu view called User Management (view type: deck) where I can add email, name and role (ENUM) only have choice of Admin, of a person in my company. I want this view to be an Admin only view so this is my expression:

IN(LOOKUP(USEREMAIL(), user_management, Email, Role), LIST("Admin"))

However when I set myself as an Admin and change the Preview app as (another person who can use the app but is not an admin) and use the Primary view, view type: Form when click cancel the form direct to the User Management. Can you please help why the above expression won't work in show-if for user management ?

Thanks in advance!

0 1 24
1 REPLY 1

Please remember that the Show? only hides the button to open the view, but not the view itself.

Top Labels in this Space