Show button only for certain users

Hello all, 

I want to add in my app a buttom that only appears for some users. I've tried the expression bellow in actions > behavior > Only if this condition is true:

 

AND([status] = "ENVIADO", IN(USEREMAIL(), LIST("user1@mail.com", "user2@mail.com")))

 

 But the buttom is appearing for all users. 

 

Could you please give me a hint how to do this right

0 2 52
2 REPLIES 2

The formula looks correct to me.  Wondering if you have some other kind of issue going on outside of the formula (refresh issue, stable version needs updated?, etc.)  Sorry, wish I could be of more help.

If you put "FALSE" in the Only If condition, does that hide the button for all?   That would help point you to whether its formula related or something else.

I've made the wrong expression. I linked the expression to a status that would only be updated in the line after pressing the button.

Thank you very much for your help

Top Labels in this Space