View on GitHub

FirmWorks Files Documentation

Documentation for FirmWorks Files, the native Salesforce application for storing, tagging, finding and sharing files.

FirmWorks Files

Back To Documentation

Enhanced Upload

Formerly Bulk Upload. Enhanced Upload replaces Salesforce’s standard upload, which takes 10 files at a time (25 by request to Salesforce), with a mode that takes thousands of files in one session, detects duplicates, supports versioning, and enforces a maximum file size before the upload starts.

Requirements

Enabling Enhanced Upload

Enhanced Upload is off by default. Turn it on in one of two places:

Users then see a File Upload Mode switch between Standard File Upload and Enhanced File Upload on the Tag and Upload screen. Its help text reads “Standard File Upload: Upload up to 10 files at a time. Enhanced File Upload: Select and upload many files at a time, duplicate check and versioning support. (API Access Required)”. Enhanced Upload works for a single file as well as many.

Uploading

  1. Set the tags, visibility and share type as usual.
  2. Choose Enhanced File Upload and select files. You can select an entire folder’s contents.
  3. Review the list. Each file shows its size, whether it is a duplicate, and whether it exceeds the size limit.
  4. Click Upload. Each file shows its own progress, and a summary shows the overall count and progress. Large files are marked as needing extra time.

Files transfer three at a time, with a cap on the total bytes in flight, so a thousand-file drop does not overwhelm the browser. The rest wait as Queued and can still be removed from the list until they start. Files that have already uploaded cannot be removed. If the connection to Salesforce stops answering for a file, the upload gives up on that file after a timeout and marks it with an error rather than hanging.

The tag values ride along with each file as it is inserted, so files land classified even if a trigger or flow reads them immediately.

Leaving the page during an upload prompts a warning.

Versioning Options, in the list’s action menu, sets every detected duplicate at once: Set All As New Files or Set All As New Versions.

Duplicate detection and versioning

Before uploading, each file is compared with files already linked to the record by title and size.

Duplicate detection

For each match you can:

The message on each row tells you whether the existing file has the same size, or is larger or smaller than the one you selected.

Maximum file size

An administrator can set Maximum File Size in the configuration (View Settings > Upload Dialogs). The value is in bytes, so 20 MB is 20000000. Files over the limit are marked before upload and cannot be uploaded, which saves users waiting for a server-side rejection.

Maximum file size enforced

Maximum file size warning

A value of zero disables the check. Salesforce still enforces its own limit after upload.

Removing files from the list

The action menu on the file list removes files in bulk:

Remove files action menu

Action Removes
Remove All Every file not yet uploaded.
Remove All Over Sized Files Files over the maximum file size.
Remove All Possible Duplicates Files whose title matches an existing file.
Remove All Possible Duplicates That Match On Size Files whose title and size both match an existing file.
Delete Files With Errors After an upload, files that Salesforce rejected or that a validation rule, trigger or flow refused.

This makes it practical to select a whole folder and then drop the files that are already in Salesforce.

Cancelling an upload

Files still queued can be removed before they are sent. Files of 35 MB or more can be cancelled while they upload: click the remove button on the row and the transfer is aborted. Files under 35 MB use an API that cannot be interrupted and run to completion.

Identifying files uploaded this way

Files uploaded through Enhanced Upload have a Path On Client value beginning with /firmworksBulkFileUpload/. Use this in reports or SOQL to find them.

Troubleshooting