This custom attribute type is meant to append one attribute or a list of attributes from a predefined list to the asset. Like for example to described in which departments an asset can be used.
Field | Description | Possible values |
---|---|---|
type | The type of the custom attribute | ATTRIBUTE_WITH_SINGLE_CHOICE |
rootVenueScopeId | The ID of the root venue | A specific integer |
name | The name of the custom attribute | Any text (has to be unique) For example:
|
description | The description of the custom attribute | Any text For example:
|
mandatory | If the custom attribute is required for the assigned assets | True or false. If the custom attribute is mandatory, every assigned asset will have to have a value for this custom attribute. |
defaultValue | If no value has been specified, and the defaultValue is not empty, then the assigned asset will have the default value for this custom attribute. | One of the single choice options. |
colors |
If this is set, the assets will be styled according to their custom attribute value in the Viewer. For example the markers on the map. | Color of the map marker in Hex format. For example #94B512 |
icons | Any React Material Icon | |
attributeOrder | This define the priority of the custom attributes for the rendering of the styles in the Viewer. If two different custom attributes have styles applied, then the first one in the attributeOrder (lowest value) will be shown by default in the Viewer. | Any integer |
localizedAttributeValue | This is an array containing an object per available language with the label and the value of the custom attribute which will be used for the rendering in Favendo’s Modular RTLS suite (Viewer, Tagger, Robot, …). |
[
{
"language": "en",
"label": "Category",
"values": {
"0": "Forklift",
"1": "Pallet",
"2": "Container",
"3": "Barcode scanner",
"4": "Tool",
"5": "Worker",
"6": "Visitor",
"7": "Other"
}
},
{
"language": "de",
"label": "Kategorie",
"values": {
"0": "Gabelstapler",
"1": "Palette",
"2": "Behälter",
"3": "Barcode-Scanner",
"4": "Werkzeug",
"5": "Mitarbeiter",
"6": "Besucher",
"7": "Sonstiges"
}
}
]
|