I'm trying to hide the backoffice link when the user doesn't have permission to access it. This is the table I use.
In your case you can use if widget:
In the Logic tab just create a Client Action (for ex. HasBackOfficePermission) wich takes your table and returns a value from TipeADm column.
HasBackOfficePermission
TipeADm
In the properties, mark this Client Action as a Function and use it in the IF condition, just add the following Expression:
HasBackOfficePermission()
Don't forget to specify the necessary input and output parameters for your client action.
If Widget
In your case you can use if widget:
In the Logic tab just create a Client Action (for ex.
HasBackOfficePermission) wich takes your table and returns a value fromTipeADmcolumn.In the properties, mark this Client Action as a Function and use it in the IF condition, just add the following Expression:
Don't forget to specify the necessary input and output parameters for your client action.
If Widget