Skip to main content

Actions

Purpose

The Actions ViewTemplate provides a dedicated area for buttons that execute Actions of the underlying Entity. It is used when important operations should be available directly in a View instead of being triggered through another component.

Actions Figure: Example of the Actions ViewTemplate.

Behavior

Each button in the ViewTemplate is linked to an Action defined for the corresponding Entity. When a user clicks a button, the referenced Action is executed immediately. Depending on the surrounding View, the buttons may appear as a horizontal or vertical action group.

warning

The property fields is deprecated and must not be used for this ViewTemplate.

Configuration

The central configuration of this ViewTemplate is the assignment of the Actions that should be rendered as buttons. The available buttons, labels, and icons depend on the configured Entity Actions and their own definitions, such as titleProcess, iconId, and onActionProcess.

Example usage

An example can be found in the ViewTemplate Actions of KnowledgeManagementPreview_view in Context KnowledgeManagement.

In this example, the property actions references the Action Likes. That Action defines its own title, icon, and execution logic.