Skip to main content

Action Buttons

Action Buttons let you configure custom operations for your collection. You can define button properties, action types, and access control.

Go to AreasGeneral, click the gear icon on a collection, then open any tab and click Add Actionable Button.

Create an action button

When you click Add Actionable Button, a modal appears where you can configure the button.

Button configuration

SettingDescription
Button DisplayHow the button is shown (for example, Label & Icon).
Button TextThe label displayed on the button.
IconThe icon displayed alongside the text. Click Add Icon to select.
Button TypeVisual style (for example, Primary, Secondary, Success, Warning, Danger, Info).

Action configuration

Action scope

Choose where the button appears:

  • Entity Action: Appears on each individual record.
  • Bulk Action: Appears when multiple records are selected.
  • General Action: Appears in the toolbar or header of the view.

Action type

The available action types depend on the selected Action Scope:

Action scopeAvailable action types
Entity ActionUpdate, Delete, Print
Bulk ActionUpdate, Delete, Export, Print
General ActionAdd, Export, Import, Print

Endpoint configuration

SettingDescription
Endpoint NameA unique identifier for the endpoint (for example, create-user). Use lowercase with dashes.

Confirmation popup

SettingDescription
Customize ConfirmationTurn on to override the default confirmation message with a custom one.

When enabled, you can configure:

  • Popup Title: The title text displayed in the confirmation dialog.
  • Popup Description: Additional context shown below the title.
  • Accept Button Label: Text for the confirm button. Defaults to "Accept".
  • Reject Button Label: Text for the cancel button. Defaults to "Reject".

Access control

Control who can see and use the action button.

SettingDescription
Inherit Access ControlWhen enabled, the button uses the parent collection's ACL settings. When disabled, you can define custom access rules.
Auth CollectionThe collection used for authentication. Only shown when Inherit Access Control is disabled.
RolesSelect which roles can access this button. Only shown when Inherit Access Control is disabled. Requires selecting an Auth Collection first.

Button visibility

For Entity Actions, you can conditionally show or hide the button based on record values.

SettingDescription
Conditional VisibilityWhen disabled, the button is always visible. When enabled, the button only appears when specified conditions are met.

When Conditional Visibility is enabled, configure visibility conditions:

ColumnDescription
ConjunctionWHERE for the first condition, AND or OR for additional conditions.
FieldThe collection field to evaluate.
OperatorComparison operator (Equal, Not Equal, Greater Than, Less Than, etc.).
ValueThe value to compare against.

Value input controls

ControlNameDescription
Session FieldUse a value from the logged-in user's session data.

Field mapping

Configure how data is passed to the action endpoint and how fields are displayed.

SettingDescription
CollectionThe target collection for the action.
Use Current CollectionWhen enabled, automatically maps to the current collection's fields.

Click + Add Field to add a new mapping rule.

ColumnDescription
FieldThe field in the target collection.
ValueThe value to pass to the target field.
RequiredToggle whether the field is required for the action.
VisibleToggle whether the field is visible in the action modal.

Value input controls

Beside the Value input, use these icons to map dynamic values:

  • Session Field: Use a value from the logged-in user's session data.
  • Collection Field: Map a field from the current collection.

Where clause

Turn on Where Clause to add conditions that filter the related data for the action.

When enabled, a condition table appears:

ColumnDescription
ConjunctionWHERE for the first condition, AND or OR for additional conditions.
FieldThe field to evaluate.
OperatorComparison operator (for example, is equal to).
ValueThe value to compare against.

Value input controls

Beside the Value input, use these icons to map dynamic values:

  • Session Field: Use a value from the logged-in user's session data.
  • Collection Field: Map a field from the current collection.

Click Add Condition to add multiple rules.