Property description

The actions property adds various actions to the section-title component.

Example

Minimal JSON

{
  "type": "",
  "values": [
    ""
  ]
}

To add a custom form, see this article. { “type”: “section-title”, “title”: “title.section_title”, “actions”: [ { “type”: “button”, “values”: [ “addObject” ] }, { “type”: “icon”, “values”: [ “export” ] }, { “type”: “section”, “values”: [ “generateDomains” ] }, { “type”: “form”, “api”: “https://help.dawiso.com/api/url/1”, “formId”: “unique ID within package”, “title”: “title.translationKey”, “successApiCallToast”: “title.translationKey_success”, “errorApiCallToast”: “title.translationKey_error”, “template”: [ … ] } ]

Nested properties

PropertyDescriptionValuesMandatory
typeDisplay form of the action. Supported values are: button: Creates button(s) for actions defined by the value property., form: Creates a button which opens up a form. See the article on the configuration of a form., icon: Creates icon(s) for actions defined by the value property., section: Adds a three-dots menu with actions defined by the value property.string*Yes
valuesAction types available for buttons, icons, and sections. Supported values are: addSpace: Add a new space., addObject: Add a new object., generateDomains: Generate a new domain. Available only for icons and sections., export: Export a table or selected columns. To enable this action, the tableId parameter must be defined. Available only for buttons and sections., delete: Delete columns. To enable this action, the tableId parameter must be defined. Available only for buttons and sections.TIP!We recommend having only one action of a given type per section title. This prevents situations where the same action appears in multiple forms (for example, having the export action shown both as an icon and as a button).arrayYes