The File component lets end-users upload one or more files. It supports drag-and-drop, thumbnail previews, file size limits, file type restrictions, and automatic parsing of structured data files like CSV and Excel.
How to read settings tables
The tables below describe each configurable option as it displays in the UnqorkAI platform. Values are formatted as follows:
inline code— a value to type exactly as shown | Bold — a value selected from a drop-down, radio button, tab, or choice chip | ON/OFF — toggle state | ✓ — checkbox checked | ☐ — checkbox unchecked
General Settings
Setting | Field | Type | Default | Description |
|---|---|---|---|---|
Property ID |
| Text input |
| The unique identifier for this component instance. |
Display Settings
Field Text
Setting | Field | Type | Default | Description |
|---|---|---|---|---|
Label Text |
| Text input | — | Identifies the component on the canvas and informs end-users what information is requested. |
Contextual Help
Setting | Field | Type | Default | Description |
|---|---|---|---|---|
Tooltip |
| Text input | — | A brief description that displays when a cursor is positioned over the tooltip icon. |
Default State Options
Setting | Field | Type | Default | Description |
|---|---|---|---|---|
Hide Field |
| Toggle | OFF | Hides the component from end-users but always displays in the Module Builder. |
Allow Multiple Files Selection |
| Toggle | OFF | When set to ON, this setting lets end-users select multiple files in a single upload interaction. |
Display Thumbnail Images or Icons |
| Toggle | OFF | When set to ON, this setting renders image files with a preview thumbnail. All other files display as text with a file icon. |
↳ Set Image Width |
| Number input |
| The maximum width in pixels of the file preview or icon. Visible when Display Thumbnail Images or Icons is ON. |
Drop Zone Label Text |
| Text input | — | Text displayed inside the drag-and-drop area to guide end-users. |
Starting Upload Message |
| Text input | — | Text displayed when a file upload begins. |
Browse Files Link Text |
| Text input | — | The label on the button link that lets end-users browse their device for files. |
Header for File Name Column |
| Text input | — | The column header label for the list of uploaded file names. |
Header for File Size Column |
| Text input | — | The column header label for the list of file sizes in kilobytes. |
Drag and Drop Not Supported Message |
| Text input | — | Displays when the end-user's browser does not support drag-and-drop file upload. |
Data Settings
Data Storage
Setting | Field | Type | Default | Description |
|---|---|---|---|---|
Store Data in Database |
| Toggle | ON | When set to ON, this setting stores field values to the database when the module saves, end-users navigate between Panel components, or end-users navigate between workflow screens. Set to OFF to exclude this field from server-side submissions. |
Fields with Store Data in Database set to OFF are excluded from the Plug-In component's API responses and Unqork's built-in tracker. When using a Plug-In component to remote-execute a module, any component whose value must be included in the API response requires Store Data in Database set to ON.
Virus scans run against files stored in the UnqorkAI platform. Creators are responsible for scanning files stored in external services (for example, Google Drive, OneDrive, Dropbox).
Actions Settings
Triggers
Setting | Field | Type | Default | Description |
|---|---|---|---|---|
Post Add or Delete Trigger |
| Property ID | — | Triggers another component when a valid file is added or removed. |
Validation Settings
User Input
Setting | Field | Type | Default | Description |
|---|---|---|---|---|
Required |
| Toggle | OFF | When set to ON, this setting requires at least one file to be uploaded before the module can be submitted. |
Required Error Message |
| Text input |
| The error message displayed when no file has been uploaded. |
Advanced Settings
Additional Data Options
Setting | Field | Type | Default | Description |
|---|---|---|---|---|
Compress .jpg and .png Files |
| Toggle | ON | When set to ON, this setting compresses image files to 1 MB on upload. Applies to |
Parse Excel Files with Multiple Tabs |
| Toggle | OFF | When set to ON, this setting parses all tabs of a multi-tab Excel file into a single JSON structure. |
Parse Files on Upload |
| Toggle | OFF | When set to ON, this setting makes the Base64 representation of the file available on upload. |
↳ Parse Files Raw |
| Toggle | OFF | When set to ON, this setting disables auto date formatting when parsing files. Applies to |
↳ Delimiter |
| Text input | — | The delimiter character used when parsing files. Visible when Parse Files on Upload is ON. |
Additional Validation Options
Maximum File Size
Setting | Field | Type | Default | Description |
|---|---|---|---|---|
Set Maximum Size |
| Number input |
| The maximum size in MB allowed for each individual file. Accepts values between 0 and 2048 MB. |
File Size Helper Text |
| Text input |
| Guidance text displayed to end-users about the file size limit. |
File Size Error Message |
| Text input | — | The error message displayed when an uploaded file exceeds the maximum size. |
Additional Styling
Setting | Field | Type | Default | Description |
|---|---|---|---|---|
Custom CSS Class |
| Text input | — | A custom CSS class for styling the component. |
Accepted File Formats
Setting | Field | Type | Default | Description |
|---|---|---|---|---|
Set File Formats to Accept |
| Text input | — | The file types approved for upload. Separate each format with a comma (for example, |
File Format Error Message |
| Text input |
| The error message displayed when an end-user selects a file type not listed in Set File Formats to Accept. |
Operations Builder
This component supports the Operations Builder in Vega modules. When the module or panel runtime is set to Vega (2.0), an Event Handlers section displays in the settings panel for configuring event-driven operations.
Changelog
Date | Change |
|---|---|
2026-09-16 | Added client-side security note to Set File Formats to Accept (EN-7918). |
— | Initial publication. |