...
name* (string) – Name of the button (unique within a partition).
labelTranslations (Map) – Text on the action button, provided potentially in several languages. For example
{ "" : "Create Watcher" }
.page* (string) – Page on which the button should be displayed. It is a constant’s value from AppPages. For example
dataAnalyzerPage
ordashboardPage
. You can restrict the display of the Create Action button for a custom list of pages. This list is defined in the button's configuration under the Advanced Configuration Options. This capability is particularly useful for embedded Dashboards. If you display a Dashboard within the Action or Quote header and want to prevent the Create Action button from appearing, you can configure it accordingly.Code Block language json "page": ["dashboardPage", "actionPage"],
order (integer) – If there are multiple buttons on the same page, this can be used to provide specific order. When not specified, ordering is done by labelTranslations.
conditionToShow (string) – Condition expression which decides if the button should be shown. Written in JavaScript, expected to return a Boolean value. The properties are in the placeholder {}, and will be replaced in the frontend code during runtime. Examples:
Code Block ["PAQUERY", "MATRIX"].includes({resultType}) || {result.generatedSavedChart.series.length} > 0
Code Block {typedId} != null
Code Block ["DATATABLE"].includes({chartDefinition.chartType}) && {chartDefinition.series.length > 0}
contextLinking* (Map) – All basic context linking parameters, such as targetPage, targetPageEntityType, targetPageInputs, targetPageFields, etc. For details see Context Linking Parameters. The variables placeholders will be provided from the frontend.
...