Attribute Sets
The attribute sets are libraries of reusable attributes. In the templates section of the administration, click the Attribute sets tab to manage the set of attributes. The attributes defined here can then be used in different templates.
Presets

Applying changes to templates
When you add an attribute from a set to a template, the template stores its own copy of the attribute. Later changes to the attribute in the set, for example switching it to Preset or editing its scripts, are not applied automatically to templates that already use it.
To push the changes, right-click the attribute in the Attributes list and choose one of:
- Apply initialization to templates: copies only the initialization script
- Apply validation to templates: copies only the validation script
- Apply all to templates: copies the whole attribute definition
Alternatively, remove the attribute from the template and add it again.
Initialization
Dictionary available for the Automation in this context
| AUTOMATION CONTEXT: INITIALIZATION | ||
|---|---|---|
| Variable | Java Class | Description |
| object | ExtensibleObject | the object under initialization, for instance a Document or a Folder |
| event | History | the current event |
| attributeName | name of the current attribute being initialized | |
| attribute | Attribute | the current attribute being initialized |
Read the Automation manual for more information.
Validation
Dictionary available for the Automation in this context
| AUTOMATION CONTEXT: VALIDATION | ||
|---|---|---|
| Variable | Java Class | Description |
| object | ExtensibleObject | the object under validation, for instance a Document or a Folder |
| event | History | the current event |
| errors | map of strings. Key is the attribute name, Value is the error description | |
| attributeName | name of the current attribute being validated (only available in attribute validator) | |
| attribute | Attribute | the current attribute being validated (only available in attribute validator) |
| value | value of the current attribute being validated (only available in attribute validator) | |
| error | ValidationError | keeps the error description of the current attribute being validated (only available in attribute validator) |
Read the Automation manual for more information.

