Interface RunParamsWithContext
Parameters for the Global $2sxc.cms.run(...) command in Addition to the Run
Package: Api.Js.SxcJs
Properties
action
The action to perform. Required.
Declaration
Property Value
Type | Description |
---|---|
Command |
context
The context to run in, basically containing module id, etc. We always need the tag OR the context, but never both
Declaration
Property Value
Type | Description |
---|---|
Sxc | Context |
event
The event which triggered this command - sometimes useful internally further use. Optional in most cases, but in some cases it will improve the behavior of the code.
Declaration
Property Value
Type | Description |
---|---|
Mouse |
params
The command params, like contentType, entityId etc. Optional for many actions.
Declaration
Property Value
Type | Description |
---|---|
Command |
tag
The tag on which the run was triggered - it's used to give the command a context to start from We always need the tag OR the context, but never both
Declaration
Property Value
Type | Description |
---|---|
HTMLElement |
workflows
Workflows work the same way as with a toolbar, except that they are added here and not registered on init.
Because of limitations in automatic documentation, the type here is set to unknown
but it's actually WorkflowStep
| WorkflowStep[]
Declaration
Property Value
Type | Description |
---|---|
unknown |