Force readonly on cells depending on user's group and a flag - Groovy
Summary:
Force readonly on cells depending on user's group
Content (required):
Hello,
Users found approvals complicated to use. So we are implementing a manuel worklfow in PBCS using a flag that can be 0/1 or 2.
We want to force readonly on forms depending on this flag and the group of the user who retrieves the form.
If the flag = 0: force readonly for all users
If the flag = 1: force readonly for users of group 1
If the flag = 2: force readonly for users of group 2
We tried to implement this via a groovy rule launched on form load
We managed to get the flag by using the DataGridDefinitionBuilder.
Tagged:
0