Property description

The actions property adds interactive controls to the section-title component. For the form action type, see form.

Example

Minimal JSON

{
    "type": "button",
    "values": ["addObject"]
}
{
    "type": "section-title",
    "title": "title.section_title",
    "actions": [
        {
            "type": "button",
            "values": ["addObject"]
        },
        {
            "type": "icon",
            "values": ["export"]
        },
        {
            "type": "section",
            "values": ["generateDomains"]
        },
        {
            "type": "form",
            "api": "/api/url/1",
            "formId": "unique ID within package",
            "title": "title.translationKey",
            "successApiCallToast": "title.translationKey_success",
            "errorApiCallToast": "title.translationKey_error",
            "tableIdsToRefresh": ["my_table_id"],
            "template": [ "..." ]
        }
    ]
}

Nested properties

PropertyDescriptionValuesMandatory
typeDisplay format of the action. See supported types.stringYes
valuesBuilt-in actions for button, icon, and section types. See supported values.array*Yes for button, icon, section
tableIdsToRefreshAPI table IDs to refresh after a successful form submission.arrayNo
Tip

We recommend having only one action of a given type per section title. This prevents situations where the same action appears in multiple places (for example, export shown both as an icon and as a button).

*Supported types

TypeDescription
buttonDisplays built-in actions as buttons.
formOpens a form modal. See form.
iconDisplays built-in actions as icons.
sectionDisplays built-in actions in a three-dot menu.

Supported values (button, icon, section)

ValueDescriptionAvailable for
addObjectAdd a new object.button, icon, section
addSpaceAdd a new space.button, icon, section
deleteDelete columns. Requires tableId on parameters.button, section
exportExport a table or selected columns. Requires tableId on parameters. For external table export from dashboards, the adjacent api-table must also have exportable: true.button, section
generateDomainsGenerate a new domain.icon, section