Question regarding use of fetchMetaData
in oh-repeater
In the example on github, fetchMetadata: semantics,widgetOrder
has been used for oh-repeater
for sourceType: itemsInGroup
and sourceType: itemsWithTags
- What is the use / how to use the
semantics
metadata in the iterated children. e.g., can we somehow use the values or config stuff of the semantics metadata?
"metadata": {
"semantics": {
"value": "Point_Status",
"config": {
"relatesTo": "Property_Presence",
"hasLocation": "Devices_Online"
}
}
}
- extending this, is there any possibility of writing
fetchMetadata: listWidget
and using the values from within this? e.g., the title or subtitle value below
"metadata": {
"listWidget": {
"value": " ",
"config": {
"title": "XXXX Cloud Item",
"subtitle": "MQTT topic 'status' on XXXX.yyyy"
}
}
}