Athento allows to add 2 types of buttons to the quick action bar of the document view:
- Link type: so that the user is redirected to a specific link when clicking on it.
- Button type: to execute an operation
These buttons are added and configured from the advanced administration, at Action Buttons.
Create a new Action Button using the Add Action Button option.
Next, you must configure the following options:
- Target content type: Select the value “doctypes | document type”.
- Target object id: The form id you want these buttons to appear.
- Label: The help text that appears when you leave the mouse over the button.
- Style: (in json format) The custom icon that we want this button to have:
- icon: icon that we want to appear.
{"icon" : "fal fa-file-invoice"}
- Place: The place where the button will appear. You must select “Document - Document quick actions”.
- Operations: The operations that will be executed when pressing the button (if it is a button type).
- Type: Select the type of button we want in the document view.
- button: Executes the selected operations
- link: Add the link that we want to be redirected when clicking.
- Params: If it is a Link type button, the URL in JSON format must be added here.
Comments
0 comments
Please sign in to leave a comment.