From Josh Dayment: Improved File Upload in Flow Screens

Josh writes: One of the common things I hear from users when uploading files in a Salesforce Flow is that they do not know if the file uploaded. This improved File Upload component adds this capability to the standard File Upload. Add this to any screen flow you wish to enable for upload. Once the user uploads files the component:

  1. displays the list of uploaded files, providing visual confirmation
  2. outputs a collection of the newly created contentdocumentId’s for use downstream in your flow.

How it Works

The available inputs are identical to the out-of-the-box file upload:

Property NameDatatype
iconvariable of icon type i.e. doctyp:attachment full list found here
labelLabel for your file upload button
recordIdThis is the record to associate your files with

The newly available contentDocumentIds output can be accessed via manual assignment or via automatic outputs:


Version 1.0

*to install in a Sandbox replace login with test in the url

View Source