The anatomy of Actions
operation
on the domain
it is mounted.
For example, an Action with the property operation: 'my-action'
placed on a Workbook would spawn a job called: workbook:my-action
. This is the job you’d listen for to respond accordingly.
[{ type: 'error' }]
[{ type: 'hasAllValid' }]
: Adding this constraint will disable a Sheet or Workbook Action when there are invalid
records.[{ type: 'hasSelection' }]
: Adding this constraint will disable a Sheet or Workbook Action when no records are selected.[{ type: 'hasData' }]
: Adding this constraint will disable a Sheet or Workbook Action when there are no records.foreground
, background
or toolbarBlocking
. Foreground mode will
prevent interacting with the entire resource until complete. toolbarBlocking
disables the sheet-level toolbar and Column Header menus, while still allowing
users to enter records manually.simple
string
| textarea
| number
| boolean
| enum
required
inputForm
would look like this. Your listener would then grab this data from the Job and take action on it. Learn more about Using Actions with Inputs.