Observation Recorder Widget
Widget Type: rc-observation-recorder
Configuration
defaults (optional) An object with key/value pairs for default properties assigned to each new observation. Leave value as empty string if you don't want a default value.
Example with capture types
{
"config": {
"defaults": [
{
"label": "Photo Capture",
"value": true,
"type": "boolean"
},
{
"label": "Thermal Capture",
"value": true,
"type": "boolean"
},
{
"label": "Acoustic Capture",
"value": true,
"type": "boolean"
},
{
"label": "Pano Capture",
"value": true,
"type": "boolean"
},
]
}
}
Example with complex defaults
{
"config": {
"defaults": [
{
"label": "Text",
"value": "default text",
"type": "text"
},
{
"label": "The number 123",
"value": 123,
"type": "number"
},
{
"label": "A true Checkbox",
"value": true,
"type": "boolean"
},
]
}
}
Example with simple defaults
{
"config": {
"defaults": {
"prop-1": "default value here",
"prop-2": "Can be left empty",
},
}
}