Page tree
Skip to end of metadata
Go to start of metadata

We now support disabling forms using visibility rules.

This is done through the 'SecurityRestrictions' attribute on the form, and specified using the following format:

Format
{ "NotRestricted": "Token1,Token2" }

The provided list of tokens, which are part of Security Restrictions, is checked for any restricted token.

If at least one of them is restricted, the form will be locked.

Examples
{ "NotRestricted": "CanCreate" }
{ "NotRestricted": "CanDelete" }
{ "NotRestricted": "CanModify,CanSaveChanges" }

Additionally, the provided list of tokens is handled like any other OpenEdge CAN-DO list. In the example below, if any token whose name begins with "Can" is found to be restricted, the form will be locked.

CAN-DO Example
{ "NotRestricted": "Can*" }
  • No labels