Overview
Adds a button to the form which, when clicked, performs an action. The action can be a very specific action or a command to be run on the actual node/device/sensor.
Custom Configuration
For common configuration values, see UI Controls. Configuration values specific to this control are:
Config Property | Type | Description | Example Values |
actionId | String | The id of the action to perform. This is a predefined set. |
actionId: flowavVelocityReset |
command | String |
This property is only applicable if the actionId is set to command. The command defined will be executed on the node/device/sensor. Depending on the command, data can be returned that is applied to other controls in the form. |
command: COMMAND |
Examples
- id: actionButton
modelPath: props
layout: first-column
config:
label: Action label
actionId: flowavVelocityReset
- id: actionButton
modelPath: props
layout: first-column
config:
label: Action label
actionId: command
command: CAPTUREIMAGE
Comments
0 comments
Please sign in to leave a comment.