Hide an action button

Hello,

I created an action button in my app to report quantity from a column to another to help the users with their actions.

This action should only be available to suppliers (B2B situation).

I would like to hide this button under the condition that the user is not a supplier. I tried to do it with a condition in Behavior but it has not been successfull so far.

Do you have any suggestions ?

Thanks and regards,

Anthony

Solved Solved
0 5 176
1 ACCEPTED SOLUTION

Hello Scott, thanks for your help, it was just a syntax problem. I'm not used to it yet.

IF(USERSETTINGS("magasinId") = [magasinFournisseur];TRUE;FALSE)

View solution in original post

5 REPLIES 5

How does your App know who is a supplier and who is not?

Hello Scott,

I have a column with the supplier's and client's codes.

So I was thinking something like that : if code = supplier code then show, else don't show

But I'm fairly new to appsheet and don't really know if it's possible.

So, if the Supplier code column is Blank...then don't show the button?

ISNOTBLANK([SupplierCode])

Or...

IN([Code],Suppliers[SupplierCode])

Hello Scott, thanks for your help, it was just a syntax problem. I'm not used to it yet.

IF(USERSETTINGS("magasinId") = [magasinFournisseur];TRUE;FALSE)