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

Troubleshooting

Problems by symptom. If yours is not here, contact support@getfirmworks.com and see how to grant support access.

Enhanced Upload hangs on “Awaiting Registration”

Symptom. Choosing Enhanced Upload shows “Awaiting Registration” indefinitely.

Awaiting Registration

Cause. Clickjack protection for Visualforce pages is enabled. Enhanced Upload embeds a Visualforce page from your org’s Visualforce domain inside the Lightning page, and clickjack protection blocks that unless the Lightning domain is trusted.

Clickjack protection enabled

Fix. Add your Lightning domain as a trusted domain for inline frames.

  1. Setup > Session Settings > Trusted Domains for Inline Frames > Add Domain.

    Add trusted domain

  2. Enter your Lightning domain, for example https://yourdomain.lightning.force.com, and choose Visualforce pages as the frame type. To find the exact value, run this in the Developer Console’s Execute Anonymous window:

    System.debug('https://' + DomainCreator.getLightningHostname());
    

    Trusted domain record

  3. Repeat for each Experience Cloud site domain where Enhanced Upload is used.

Enhanced Upload working

“API is disabled for this User”

Symptom. The Browser Viewer or Enhanced Upload shows an error containing API_CURRENTLY_DISABLED or “API is disabled for this User”.

Cause. Both features call Salesforce APIs from the browser and need the user to have API Enabled.

Fix. Grant API Enabled on the user’s profile or a permission set. For Experience Cloud users, weigh this against your security policy; standard upload and Salesforce’s own previews work without it.

“FirmWorks Notes License Was Not Found”

Symptom. The Note Manager tab or FirmWorks Notes component shows this message instead of the notes explorer.

Cause. The FirmWorks Notes license feature is not enabled for your org, or the user has no package license.

Fix. Check the user has a license under Installed Packages > FirmWorks Files > Manage Licenses. If licensed users still see the message, contact support@getfirmworks.com to enable FirmWorks Notes. See Permissions and Licensing.

“FirmWorks File Events Is Not Enabled”

Symptom. The Configurator’s File Events tab shows “FirmWorks File Events Is Not Enabled! Please Contact FirmWorks to Enable this Feature”, or flows on the file events never fire.

Cause. Either the File Platform Events license feature is off for the org, or the events are off. All events are off after installation.

Fix. Contact support@getfirmworks.com if the tab shows the message. Otherwise open the File Events tab, turn on the events you need and click Save on each card. See File Events.

Download Files opens several tabs or nothing downloads

Symptom. Download Files opens more than one browser tab, or a dialog of links appears, or nothing happens.

Cause. Files are requested in batches of 800 and each batch is a separate download in a new tab. Browsers often block more than one pop-up.

Fix. Use the links in the dialog to start any download the browser blocked, or allow pop-ups for your Salesforce domain. On phones and tablets, Salesforce may ask you to log in again in the browser before the download starts.

“Unable to parse the URL parameters correctly”

Symptom. Opening a FileViewer link shows this message and FileViewer loads without the intended files or search.

Cause. A c__contentIds, c__search or c__reportBuilder parameter is malformed. Content Ids must be 15 or 18 characters and start with 068 or 069. The other two parameters are encoded by FileViewer and should not be edited by hand.

Fix. Regenerate the link with FileViewer’s Launch Last Search button or fix the Ids. See URL parameters.

“Dynamic Field Values: Invalid Fields Detected”

Symptom. File Upload & Tagger For Flows shows this error.

Cause. The JSON passed to Dynamic Field Values is malformed or names a field that does not exist on Content Version.

Fix. See the Dynamic Field Values troubleshooting section, which includes a script to check your JSON.

A saved configuration does not appear on components

Symptom. You saved a configuration but it is not in a component’s Configuration: Name picklist, or a component still shows the old settings.

Causes and fixes.

Users cannot see files they expect

Symptom. A search returns fewer files than the user believes exist.

Causes and fixes.

Previews are blurry or missing

Symptom. A PDF or document preview is low quality or does not render.

Fix. Use Show In Browser’s Viewer from the file’s menu, which renders the actual file rather than Salesforce’s generated image. Or ask an administrator to regenerate the preview. See Salesforce Images Low Quality Render.

Picklist values are missing for a record type

Symptom. A picklist on the upload or tagging screen shows no values, or the wrong values, for files with a record type.

Cause. Record-type-specific picklist values are not readable by Apex. The package caches them and the cache is out of date.

Fix. A user with the Configurator permission set opens /apex/firmworks__RecordTypeFetcher and clicks Query Values And Save To Custom Metadata. See Record types on Content Version.

Upgrading from a version before 0.15

The June 2022 release (0.15) changed the File Tagger component. If the upgrade fails with the error below, remove the component uses it names, install, then recreate them.

Upgrade error

  1. Remove File Tagger Button For Upload from page layouts and Experience Cloud pages. Republish any sites you changed.
  2. Remove File Tagger from page layouts. Keep a note of the settings so you can recreate them.
  3. Remove and delete any custom actions that reference the FileTaxonomy component.
  4. Install the new version, then recreate what you removed.