Wiki源代码10 Attachment

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

显示最后作者
1 **Feature Overview**
2
3 The Attachment widget is used for uploading files, supporting multiple formats such as PDF, Word, Excel, etc.
4
5 **Use Cases**
6
7 It is suitable for scenarios like uploading contracts, reports, invoices, and other documents.
8
9 **Setting Method**
10
11 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.
12
13
14 **Widget Properties**
15
16 (% style="width:1366px" %)
17 |(% style="width:159px" %)**Widget Properties**|(% style="width:144px" %)**Settings Options**|(% style="width:1059px" %)**Settings Options Description**
18 |(% rowspan="5" style="width:159px" %)Basic Properties|Name|(% style="width:1059px" %)Used to distinguish different widgets.
19 |Display Name|(% style="width:1059px" %)Used to control whether the widget name is displayed when filling out the form.
20 |Width|(% style="width:1059px" %)Used to control the display width of the current widget when filling out the form.
21 |Help Text|(% style="width:1059px" %)A question mark hover appears when filling out the form, which can display help text.
22 |Permissions|(% style="width:1059px" %)(((
23 Visibility Permissions: Visible, Conditionally Visible, Invisible;
24
25 Edit Permissions (precondition: visibility permissions): Editable, Non-editable;
26
27 Mandatory Permissions (precondition: edit permissions): Mandatory, Conditionally Mandatory, Not Mandatory;
28
29 Field permissions only take effect in non-process forms;
30
31 Additionally, conditionally visible and conditionally mandatory permissions take effect in both process and non-process forms.
32 )))
33 |(% rowspan="4" style="width:159px" %)Special Properties|(% style="width:144px" %)Account|(% style="width:1059px" %)Used to set the maximum number of files that can be uploaded at once.
34 |(% style="width:144px" %)File Size|(% style="width:1059px" %)Used to set the maximum file size for individual files during upload.
35 |(% style="width:144px" %)Attachment list|(% style="width:1059px" %)Used to set which column fields are displayed when the attachment list is shown to the user.
36 |(% style="width:144px" %)Attachment Type|(% style="width:1059px" %)Controls the types of attachments that client users can upload, with options to select from the following attachment types:(((
37 * **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
38 * **Compressed File Types**: .zip, .rar, .7z, .ar, .bz, .car, .dar, .cpgz, .tar, .ha, .gzip, .jar
39 * **Image Types**: .jpg, .png, .tiff, .dwg, .jpeg, .gif
40 * **Audio Types**: .WMA, .MP3, .WAV, .APE, .ALAC, .AAC, .Opus, .Vorbis, .MIDI, .RA, .CDA, .OGG
41 * **Video Types**: .FLV, .RMVB, .MP4, .MVB, .AVI, .WMV, .MPG, .MPEG, .MOV, .RM, .RAM
42 )))