Athento allows you to hide one or several fields of a form, depending on the group of users that are accessing the document.
This configuration is done from the metadata type, in Hidden condition.
An expression must be used to indicate the group or groups for which the field will be hidden or visible, depending on the number of groups it will be conditioned in one way or another.
Expression to indicate on which groups the metadata will be hidden:
'Group Label' in user.get_groups_labels().
Expression to indicate on which groups the metadata will be hidden (multiple groups): Simply add a or re-add the same expression as follows:
'Group1 label' in user.get_groups_labels() or 'Group2 label' in user.get_groups_labels()
Expression to indicate on which groups the metadata will NOT be hidden: Just negate the expression by being like this:
'Group Label' not in user.get_groups_labels()
Comments
0 comments
Please sign in to leave a comment.