Wiki源代码10 Attachment

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

隐藏最后作者
yufei li 6.3 1 **Feature Overview**
yufei li 1.1 2
yufei li 6.3 3 The Attachment widget is used for uploading files, supporting multiple formats such as PDF, Word, Excel, etc.
yufei li 1.1 4
yufei li 6.3 5 **Use Cases**
yufei li 1.1 6
yufei li 6.3 7 It is suitable for scenarios like uploading contracts, reports, invoices, and other documents.
yufei li 1.1 8
yufei li 6.3 9 **Setting Method**
yufei li 1.1 10
yufei li 6.3 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.
yufei li 1.1 12
13
yufei li 6.3 14 **Widget Properties**
yufei li 1.1 15
yufei li 6.4 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" %)(((
yufei li 6.3 23 Visibility Permissions: Visible, Conditionally Visible, Invisible;
maym 6.1 24
yufei li 6.3 25 Edit Permissions (precondition: visibility permissions): Editable, Non-editable;
maym 6.1 26
yufei li 6.3 27 Mandatory Permissions (precondition: edit permissions): Mandatory, Conditionally Mandatory, Not Mandatory;
maym 6.1 28
yufei li 6.3 29 Field permissions only take effect in non-process forms;
maym 6.1 30
yufei li 6.3 31 Additionally, conditionally visible and conditionally mandatory permissions take effect in both process and non-process forms.
maym 6.1 32 )))
yufei li 6.4 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 )))