Hide the backoffice link OutSystem

56 Views Asked by At

I'm trying to hide the backoffice link when the user doesn't have permission to access it. This is the table I use.

Database outsystem

1

There are 1 best solutions below

0
PWND On

In your case you can use if widget:

Usage of '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.

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