Skip to main content

File Upload (Enhanced)

Overview​

The File Upload (Enhanced) component gives users a more advanced file upload experience over the default File Upload component provided by Salesforce. See the table below comparing functionality.

datatable

FeatureFile Upload (Enhanced)File Upload
Restrict File Types✅✅
Upload Multiple Files✅✅
Disable Uploads✅✅
Require Minimum Number of Files Uploaded✅❌
Auto Next On Upload Finished✅❌
View List of Files Uploaded✅❌
Preview File Content After Upload✅❌
Remove File After Upload✅❌
Single Content Document Output✅❌
info

We are always adding new features and enhancements to this component. Please get in touch with us if this component is missing the functionality you require.

Configuration Inputs​

Accepted File Types​

Using the format .ext, a comma-separated list of the file extensions that the user can upload.

Type
Text

Allow Multiple Files​

If set to true, the user can upload multiple files.

Type
Boolean

Auto Next on File Upload​

If set to true, the Flow will automatically advance to the next step when the upload completes.

Type
Boolean

Label​

Label that appears above the upload button.

Type
Text

Minimum Number of Files​

Set this input to true to enable inline editing. Fields will only be editable if the user has Field Level Security access to the field.

Type
Number

Record ID​

ID of the record to associate the files with.

Type
Id

Unique ID​

This value should be set to {!$Flow.InterviewGuid}. It enables files to persist in the component when navigating forwards and backward in a Flow.

Type
Text

Configuration Outputs​

Content Document ID​

A single Content Document ID for the file that was uploaded.

Important

This output variable is only populated when a single file is uploaded. This can make downstream flow logic easier for single file uploads. When multiple files are uploaded, use contentDocumentIds.

TypeVariable Name
Text (ID)contentDocumentId

Content Document IDs​

A collection of Content Document IDs for the files that were uploaded.

TypeVariable Name
Text Collection (ID)contentDocumentIds