Attachment
Properties | Events | Methods
Attachment Control allows users to upload, view, and edit files such as documents or images within a form, record, or workflow.

Properties
Custom
Max Filesize(MB)
Defines the maximum file size allowed for upload (eg : 20kb,30mb,100bytes,40gb)
File Extensions
Defines allowed file extensions to restrict uploads to specific file types (e.g., JPG, JPEG, etc.).
Auto Preview
Displays a preview of the attached image. This works only for image files, not for other file types.
Allow Add
This property allows options like Add File, Add Folder, and Camera
Allow Edit
Allows editing features such as annotation on the uploaded file.
Allow Delete
Enables the delete option for a file or folder.
Before After
Users are allowed to view the files attached before and After any event
Camera Only
Displays only the camera interface for capturing a photo, with editing options available for the captured image.
Allow Audio Attachment
Allows recording and uploading audio files as attachments.
Allow Link Attachment
Allows attaching external links as attachments.
Allow Add Folder
Allows creating a new folder in the attachment section.
Allow PDF Annotation
Enables adding comments or notes (annotations) to files. Applicable only to PDF files.
Allow Camera
Allows capturing images using the device's camera.
Tag Field
It stores category tags used to identify and search attachments easily.
DMS Folder ID
Specifies the folder ID within the DMS (Document Management System) where the file should be stored.
Support Parent Id
Defines the ID of the parent file to which the current file will be attached as a supporting document (DMS-specific).
DMS File ID
Specifies the file ID within a DMS folder where a new version or attachment should be uploaded.
Allow File Version
Allows uploading versioned files for maintaining file history.
Allow Rename
Allows to rename the uploaded file
Preview Type
Define JSON sturcture to show list of attachment with image preview in list view
OnUploadComplete
If Auto Close is enabled, the popup screen closes automatically after files are uploaded. If it is left empty, the popup screen will not close automatically and must be closed manually.
Data
Image Type
Specifies the image type to be either normal or thumbnail:
- Normal – The uploaded file is stored as it is.
- Thumbnail – The uploaded file is compressed automatically.
Others
Restrict Download
If enabled, hides the download button and prevents downloading the file.
Expanded
If enabled, the attachment section will be expanded by default on load.
View Mode
Determines how the attachments are displayed
- List – Files are shown in a list format.
- Grid – Files are displayed as thumbnails in a grid format.
- Both – Users can toggle between list and grid view.
Max no of Files
Defines the maximum number of files that can be attached.
Attach Mode
Defines how attachments are handled:
- Open – Standard file attachment.
- Before&After – Allows uploading a second file that is logically linked to the first one. Both versions are shown side by side for comparison.
Events
No Applicable Events included
Methods
For more information on Methods in this section, see the General-Methods .
