CloudFilesUploader Component
The CloudFilesUploader component can be used in screen flows to facilitate file uploads. When used, uploaded files are moved to a specified destination in external storage instead of being stored in Salesforce storage.
Let us discuss each of the input parameters in detail in the sections below.
Please provide a unique name for the API component.
These parameters are needed to specify the storage location. You can get these parameters by viewing metadata details for a folder in the “Content Library” tab of the CloudFiles app in Salesforce. To get the value of Destination Parameters, please refer to the Create Folder flow action.
- LibraryThe library is the desired Cloud based drive where you wish to create the folder. This is a simple text field and you can enter one of these options - sharepoint, google, onedrive, dropbox, box, cloudfiles (for AWS S3).
- Drive IDDrive ID of the resource(to be copied) for SharePoint or Google Drive. This parameter is not needed for other storages.
- Folder IDThis is the folder ID of the destination folder where the files will be copied.
The component will return all the contents of the uploaded files as a Resource List.
Note: Output is session-specific. When the page is refreshed or closed, the output will be reset.
The CloudFilesUploader component replaces the standard Salesforce file upload component in screen flows, enabling users to upload files directly to external storage