Attribute Type
The Attribute Type component adds a drop-down list that allows users to select existing attribute types. You can configure the component to allow either a single selection or multiple selections. To narrow down the choices, you can provide a Proposed values list, which restricts the drop-down to only those specific attribute types.
For single selection components, the class of the stored value is String, representing the ID of the selected item.
For multiple selection components, the class of the stored value is ArrayList, representing a comma-separated list of the IDs of the selected items.
General properties
ID
The identifier of the component, primarily used for client-side interactions and identification in the HTML structure of the form. When you add a component, an ID is automatically generated to ensure it is unique in the form.
Label
Text that appears above the form component in Collibra, briefly describing its purpose. This is the main title or question for the field.
Label tooltip
Additional help or information about the field. If defined, a question mark icon appears after the label, showing the tooltip when users hover their pointer over the icon.
Documentation
A text field for internal design notes or future reference about this specific component. This information is not visible in Collibra.
Value
The name of the variable that stores the data entered into this field in Collibra. Use a variable name enclosed in double curly braces, for example {{variableName}}. Since this is a process variable, you can then use it throughout your workflow processes, such as in scripts, other forms, or service tasks.
You can also specify where the variable is saved:
{{variableName}}or{{self.variableName}}: Stores the value as a process variable in the current workflow.{{parent.variableName}}: Stores the value in a variable that belongs to the immediate parent process of the current workflow.{{root.variableName}}: Stores the value in a variable that belongs to the root process, which is the top-level workflow that started the current one.
Default value
The pre-filled value for the component when the form first appears. A filed shows the default value if the Value property does not set a value explicitly.
For multiple selection components, enter the value as an expression representing an Array of Strings, for example {{["0196e800-e612-700b-8ca6-8c1248845e51","018f3e1f-5e16-7798-9fb9-5b4e6ce10751"]}}.
Datasource properties
Datasource properties are common to the components that accept a list of items or options.
Storage
Specifies how the component variable stores the input data:
ID: The variable stores the selected value or comma-separated list of selected values.
Full value: The variable stores a Map or list of maps for multiple selection components. The value represents the full selection, containing both the text and value elements, such as
[text:text1, value:value1]. This makes it possible to display other values of the selected element within the form as well.
Multi value
Whether the input allows for multiple selections.
Proposed values
A set of proposed values shown at the top of the list in Collibra.
Enter the values as an expression representing an Array of Strings corresponding to the IDs of the resources, for example {{["0196e800-e612-700b-8ca6-8c1248845e51","018f3e1f-5e16-7798-9fb9-5b4e6ce10751"]}}.
Collibra automatically adjusts the list of suggested values based on the resources you provide:
If some IDs are incorrect or the resources do not exist, the component shows the remaining valid values at the top of the list.
If none of the proposed resources exist, the component shows no suggested options but displays the full list of resources.
If Proposed values only is active and none of the proposed resources exist, the component shows an empty list.
To account for this adaptive display behavior, double check during testing that all expected values are shown as intended.
Collibra guarantees optimal performance for up to 1,000 values. Performance might decline with larger volumes.
Proposed values only
Whether the selection is restricted to just the options defined in the Proposed values list.
Validation properties
Required
Whether the component must have a value for the form to be submitted.
Custom validations
A list of additional validations for the component. Each custom validation consists of two parts:
Expression: A rule that must evaluate to
truefor the form to be submitted.Error message: The message that shows if the expression evaluates to
false.
For example, you can create a validation with the expression {{!(selection && selection.includes('None of the above') && selection.length > 1)}} to prevent combining a non-exclusive option with other selections. The expression describes the valid state, not the error condition. For more information on expression syntax and available JavaScript methods, see Form expressions.
Rendering properties
Ignored
Whether the component is be hidden in the form and any value it might hold is not included in the submission data.
Visible
Whether the component is shown or hidden on the form. You can controlled this unconditionally or through an expression. For example, you can set an expression that hides or shows the component based on a user selection in another component. This property is enabled by default.
Enabled
Whether the component is interactive or read-only on the form. When disabled, users cannot change the component value. This property is enabled by default.
Description
Additional information shown in Collibra below the form field, providing detailed instructions, examples, or essential guidance.
Last updated
Was this helpful?