10 Attachment

yufei li 于 2025/02/28 07:04 最后修改

Feature Overview

The Attachment widget is used for uploading files, supporting multiple formats such as PDF, Word, Excel, etc.

Use Cases

It is suitable for scenarios like uploading contracts, reports, invoices, and other documents.

Setting Method

Click on the Attachment widget in the basic fields or drag and drop the Attachment widget onto the canvas, and set the file size limit.

Widget Properties

Widget PropertiesSettings OptionsSettings Options Description
Basic PropertiesNameUsed to distinguish different widgets.
Display NameUsed to control whether the widget name is displayed when filling out the form.
WidthUsed to control the display width of the current widget when filling out the form.
Help TextA question mark hover appears when filling out the form, which can display help text.
Permissions

Visibility Permissions: Visible, Conditionally Visible, Invisible;

Edit Permissions (precondition: visibility permissions): Editable, Non-editable;

Mandatory Permissions (precondition: edit permissions): Mandatory, Conditionally Mandatory, Not Mandatory;

Field permissions only take effect in non-process forms;

Additionally, conditionally visible and conditionally mandatory permissions take effect in both process and non-process forms.

Special PropertiesAccountUsed to set the maximum number of files that can be uploaded at once.
File SizeUsed to set the maximum file size for individual files during upload.
Attachment listUsed to set which column fields are displayed when the attachment list is shown to the user.
Attachment TypeControls the types of attachments that client users can upload, with options to select from the following attachment types:
  • File Types: .txt, .doc, .docx, .ppt, .pptx, .xls, .xlsx, .csv, .pdf, .chm, .rtf, .xmind, .py, .md, .rjs, .apk, .ipa, .dmg, .pkg, .html, .xml, .rp, .exe, .java, .php, .css
  • Compressed File Types: .zip, .rar, .7z, .ar, .bz, .car, .dar, .cpgz, .tar, .ha, .gzip, .jar
  • Image Types: .jpg, .png, .tiff, .dwg, .jpeg, .gif
  • Audio Types: .WMA, .MP3, .WAV, .APE, .ALAC, .AAC, .Opus, .Vorbis, .MIDI, .RA, .CDA, .OGG
  • Video Types: .FLV, .RMVB, .MP4, .MVB, .AVI, .WMV, .MPG, .MPEG, .MOV, .RM, .RAM