Files Component Configurations
With the Files component, community users can upload, download, preview and open files in the storage provider’s document management system through the experience site. Files and accessible folders for uploading are determined by the Allow Sharing with Experience Cloud options in either the SharePoint Links or Drive Links component and Automate SharePoint or Automate Google Drive operations. Site builders will be given several options for the component to tailor the upload experience for their community users.
- Navigate to the Experience site page with the Files component and drill into it.

- The first option is File Click Action, by default the picklist value is set to Preview. Below are the available picklist options:
- Download - When a user clicks on the hyperlink to a file on the files component, the file will download.
- For Google File Types there is a 10 MB conversion limit. As an example if a Google Doc is downloaded as a pdf there will be a 10 MB limit for downloading.
- Preview - When a user clicks on the hyperlink to a file on the files component, a preview of the file will appear.
Please Note: Only DOCX, XLSX, PPTX, PDF, TXT, JPEG and PNG files can be previewed per Salesforce limitations. All other file types will provide a download button.
- Open in Storage Provider - When a user clicks on the hyperlink to a file on the on the files component, a new tab will open with the file in the storage provider.

- Download - When a user clicks on the hyperlink to a file on the files component, the file will download.
- The second option is Storage Provider, you will see either the SharePoint or Google Drive picklist values.

- The third option is Allow Upload. By default this is enabled. When enabled, the component will have an upload button that will allow users to upload files to folders on the record from the SharePoint Links or Drive Links component that have been allowed to share with the Experience Cloud. When disabled the upload button is removed.

- The fourth option is Backup Upload Folder. This will open up the SharePoint or Google picker so that a specific folder can be selected. The selected folder is where all uploaded files will be uploaded to if no linked folders exist.

- The fifth option is Label. This is an input field that changes the text that is displayed on the Files Component.

- The sixth option is Icon Name. By default the value in the input field is set to standard:file.

- The seventh option is Allowed Dropdown Options. By default the picklist values are set to Preview, Download, Open in Storage Provider and Delete. Any combination of these values can be set. Users will see these actions under the dropdown of a linked file on the files component.

- The final option is Hide When No Permissions. By default this is disabled. By default if a user does not have the appropriate permissions to access the component, then they will see a banner informing them. When this option is enabled the component will not appear for users that lack the appropriate permissions.
