Skip to content

Upload File

Overview

Upload files on the client side, supporting direct file reading and conversion to Base64 or uploading files to shared storage

Parameter Configuration

ParameterDescription
Dialog TitleWindow title content. Context variables can be obtained using expressions to specify dynamic content
Dialog Distance from TopDisplay the distance of the dialog from the top. Context variables can be obtained using expressions to specify dynamic content
Storage ModeStorage mode after successful file upload, supporting Store in shared storage and Convert file content to BASE64
Accepted TypesSupported types for uploaded files
Multiple FilesWhether to support multiple file uploads
File Size LimitLimit the size of a single uploaded file, in MB. 0 means no limit
Maximum Allowed NumberWhen multi-file upload is enabled, you can set the maximum number of files that can be uploaded
Description TextDescription text displayed to users

Return Value

Return ValueTypeDescription
Data ListArray<Object>Data list after Excel parsing

Notes

  • Accepted Types

    Supported file types can use file extensions like .jpg, .pdf, .doc, etc.; or use mime-type restrictions like audio/*, image/*, etc. For more information, please refer to

  • Description Text

    For data binding usage of rich text content, please refer to

  • Storage Mode Convert file content to BASE64

    The client will read the file and convert it to base64 content for return. When using this mode, pay attention to the file size to avoid browser crashes caused by the client reading too large files

Usage Scenarios

  • After custom uploading file data, use scripts to parse the file content and save it to the corresponding data table

Usage Examples