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 switch between Standard File Upload and Enhanced File Upload on the Tag and Upload screen. 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 are tagged in groups of 25 after upload to stay within Salesforce limits when triggers run on Content Version. Files that are already uploaded cannot be removed from the list.

Leaving the page during an upload prompts a warning.

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.

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

Cancelling an upload

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