The card toolbar is displayed when viewing a record’s card popup.
Configuration
Navigate to Search » Toolbars.
Edit the record for record.card
.
Add interactions using toolbar KATA.
interaction/trackTime:
uri: cerb:automation:example.trackTime
tooltip: Track time
icon: stopwatch
hidden@bool:
{{record__type is not pattern("task","ticket")}}
The following placeholders are available in KATA:
Key | |
---|---|
record_* |
The record being viewed. Supports key expansion. The record__type placeholder is the type (e.g. ticket ). |
worker_* |
The active worker record. Supports key expansion. |
Interactions
Caller: cerb.toolbar.record.card
Inputs
The following caller_params
are passed to the interaction:
Key | Type | |
---|---|---|
record_ |
record | The record dictionary |
Output
The caller expects the following return:
dictionary:
Key | Type | |
---|---|---|
close@bool: |
boolean | yes to close the card popup |
after:
Key | Type | |
---|---|---|
refresh_widgets@list: |
records | One or more card widgets names to refresh |