Field Array permissions
What is a field Array?
A field array in technical terms is an array of objects. A user can drop field array on the form, and add fields within a field array.
An end-user/employee can add multiple entries for a field array.
For example, we want to capture the 'Education Details' of an end-user. In order to do so, workflow designer can create a field array called 'Education Details' and can add fields within the field array such as, Degree (input field), Institute (dropdown) & Year of Passing (Integer).
An end-user, while filling out the form, can add several records within the 'Education Details' field array.
Permissions for a field array?
Primary field array permissions
A workflow designer can first define the primary field array permission. Which is, Editable, Read-only or Hidden.
Editable: It allows assignee/s to edit field array records.
Read-only: It allows assignee/s only to read field array records.
Hidden: It keeps the field array hidden from viewing for assignee/s.
Field-level permissions within Field array
- Once you have defined the primary field array permission, you can further define permissions on fields basis the selected primary field array permission.
- The table given below highlights the applicable field level permissions, which a workflow designer can apply, basis the field array permissions:
| Primary field array permission | Applicable field level permissions |
|---|---|
| Editable | Editable, Read-only, Hidden |
| Read-only | Read-only, Hidden |
| Hidden | - |
Additional settings when primary field array permission = 'Editable'
- Two additional configurations render, when primary field array permission has been defined as 'Editable'.
- Following are the 2 configurations:
- Allow adding/deleting a record within field array:
- It allows assignee/s to complete edit records within a field array.
- It includes deleting previously added records, or adding new records.
- Allow only deleting of a previously added record within field array:
-
It allows assignee/s to only delete previously added record within field array
-
Assignee/s cannot add any new record
-
Although, as per field level permissions, they can edit previously added records, if required.
-
- Allow adding/deleting a record within field array:
Updated about 1 month ago
