Echo Service Assets
The Echo Service Assets Form Component allows options from a list of Service Unit Property Assets obtained from the Selected Interventions Echo API to be presented to the user to select from, during a form submission.
Settings
When adding the component to a page template, the following settings will need to be configured:
Name | Description |
---|---|
Configure Option Label if Asset is not in the list | Defaults to The desired asset is not listed . |
Exclude Asset Type IDs | A comma separated list of Asset Type IDs to be excluded from the list. |
Dictionary Entries
It is possible to override the label for any item in the select element of the Service Assets component using the Forms Dictionary functionality.
To do so, set the Label
value to the desired overwritten value, and add the existing value as returned from the Echo API to the Key(s)
values.
The original Value
of the selected asset is required to retrieve details of that asset, and so any text added to the Value
in the dictionary entry will be ignored.
Variables
On selecting an asset from the select element, the following metadata for that asset will be made available as variables:
- Asset Type ID
- Asset Type Name
- Label