Global Attachments Widget
You can place the Global Attachments widget to the agent interface forms of any table. It allows users to add and manage files attached to records.
tip
To learn how to place widgets on forms see the Add Widget to Form article.
Widget appearance
The widget appearance and available elements depend on the widget configuration and whether there are files attached to the record.
- No files attached
- Some files attached
- Read-only
- Read-only, no files attached
Available elements:
- Drag files area.
- Upload button. The button opens the system file manager and allows users to select files to upload.
- Attachment window button.
Available elements:
- Drag files area.
- Upload button. The button opens the system file manager and allows users to select files to upload.
- Quick access list. The list contains last three uploaded files.
- Download and Delete actions for each file.
- Attachment window button.
- The number of files attached.
Available elements:
- Quick access list. The list contains last three uploaded files.
- Download action for each file.
- Attachment window button.
- The number of files attached.
Configure the widget
To learn how to configure widgets see Configure an option schema.
Schema option values of the Global Attachments widget
Option | Description | Available options |
---|---|---|
style | Use the option to pass inline style parameters to the widget and modify its appearance. | |
isReadOnly | If set to true the widget becomes read-only. In this state users can only download the attached files. They cannot delete attached files or upload new ones. The Drag files area, upload button, and delete action are hidden. If there are no attachments, the No attachments placeholder is displayed. | true , false |
Global Attachments options example
{ "style": { "minHeight":"400px", "background":"blue" }, "isReadOnly":false }