ButtonConfig

Field |
Description |
---|---|
Default |
Specified as true for the button that is auto-clicked when pressing Enter. Only available for webUI PGEs. |
Key |
The data that is passed back when the button is clicked. |
Name |
The button label. |
Type |
The visual elements of a button. Available options:
|
If there is no customised button configuration, the default is the Submit button with a blue colour.
Maximum number of configurable buttons is 8 for .wms Desktop but unlimited for .wms webUI and other .wms applications. No colours are available for custom buttons on the .wms Desktop.
ButtonConfig is available on all devices.
On the .wms webUI, if there is a default button or only one customised button then it will auto submit.
{
...
"ButtonConfig": [
{
"Name": "Submit",
"Key": "Submit",
"Type": "Primary",
"Default": true
},
{
"Name": "Warning",
"Key": "Warning",
"Type": "Warning"
},
{
"Name": "Info",
"Key": "Info",
"Type": "Info"
},
{
"Name": "Danger",
"Key": "Danger",
"Type": "Danger"
}
],
...
}