The list report view supports various types of actions.
The table toolbar in the list report contains buttons used to trigger certain actions for the list report items. As shown below, these actions can include generic functionality offered by the smart template, or app-specific custom actions.
Custom Actions
Based on your use case, you can define custom actions for your app that are displayed in the table toolbar, for example, Copy and Approve. You can define the following types of actions for your app:
Actions that require user confirmation, for example, for critical actions that have severe consequences. The system opens a dialog where the user must confirm the action.
Actions that require additional user input, for example, an approval comment. The system opens a dialog with one or more entry elements where the user enters the required data. The system can pre-fill data if applicable.
Actions that require none of the above. The system triggers the action.
Generic Actions
The template also supports the following generic actions in the table toolbar:
Personalization (for example, sorting, filtering, grouping, column personalization)
Creation of new item (+ button) if the entity set is creatable
If desired, you can enable an action for line items in the list report through annotations. The action is displayed in a column (specified in the annotation) in the individual line item rather than in the table toolbar in the list report view. When the user triggers the action, it affects only the individual line item.
Actions that trigger a back-end call through the OData service, for example, Approve or Unblock
For information about using annotations to set up actions in the list report, see Actions in List Report View and Line Item Actions in Tables.