Hi all,
we would like to use the field visibility extension feature in two ways:
1) Field visibility dependent from UserLevel: Some fields of user masterdata table should be not visible or edit for a specific user type
2) Field visibility dependent from boole values in a maintenance table. Maintenace table incluedes usersID and boole values (0, 1) for each field/column.
Which code snippet do we need to include in the Advanced Setings of Field Visibility Extension Menu for option 1:
a) For table settings: Table permission type = UserLevel?
b) For field settings: Which code snippet do we need to include for the fields of user table we would like to set on visible or hidden, dependet from userlevel
Which code snippet do we need to include in the Advanced Setings of Field Visibility Extension Menu for option 2:
a) For table settings: Table permission type = UserID?
b) For field settings: Which code snippet do we need to include for the fields of user table we would like to set on visible or hidden, dependent from bool value for a suer in the maintenance table. We have a query on the maintenance table to check the bool value for each column. The result of this query is 0 or 1 for a specific user and column.
Best regards, Thomas