Sudipta Deb

Sudipta Deb

Founder of Technical Potpourri, Co-Founder of Shrey Tech, Enterprise Cloud Architect

Understand The Requirement

Let’s unlock the full potential of Salesforce Flow with this latest blog post, as I delve into the seamless integration of the out-of-the-box Flow Upload component.

While Salesforce Flow simplifies the file upload process, there is a common challenge: the default setup lacks visibility on successfully uploaded files once the popup window is closed. This blog post addresses this issue by providing a swift and effective configuration solution. In this blog post, I will guide you through the steps to enhance your user experience, enabling the display of successfully uploaded file names directly on the Flow screen. Elevate your Salesforce Flow capabilities with this invaluable insight and configuration technique.

Watch The Video Or Read The Article (or do Both)

Let’s Start With The Screen Flow

  • Let’s add a static text in the screen asking user – “Do you want to upload some files?”
  • Right next to the text, let’s drag and drop the standard File Upload component.

Let’s Configure File Upload Component

  • Let’s give it a name as fileUpload. But you can give any name.
  • Let’s put the message under File Upload Label as Let’s Upload Your Files Here.
  • Let’s make it True for Allow Multiple Files.

Let’s Print The Name Of The Uploaded File(s)

Once the File Upload component is comfigured, let’s bring Display Text component right below the File Upload component. Give it a name as displayAllNames.

Now the main part. The actual message that you want to display is the name of the successfully uploaded files, right?

The standard File Upload component provides a variable called fileNames which basically holds the name of the all successfully uploaded file names in comma-separated format. The way to access the variable inside your flow is:

{!<FILE_UPLOAD_COMPONENT NAME.fileNames}

So in my case, I will put {!fileUpload.fileNames} as fileUpload is the name of my File Upload Component.

It will look like –

And That’s All !!

That’s all you need to configure inside your flow. Isn’t it so easy? Now the upload file names will be displayed like this –

Conclusion

In conclusion, this exploration of Salesforce Flow’s capabilities has illuminated the power of the out-of-the-box Flow Upload component in seamlessly handling file uploads and printing their names. 

However, armed with this insightful blog post, you now possess a quick and effective configuration solution. By implementing the provided steps, you can enhance your user experience and gain clarity by having the names of successfully uploaded files prominently displayed on the Flow screen.

As you navigate the dynamic landscape of Salesforce Flow, keep in mind that optimizing your configurations can significantly impact efficiency and user satisfaction. I hope this blog post serves as a valuable resource, empowering you to harness the full potential of Salesforce Flow and streamline your file upload processes.

Disclaimer

This article is not endorsed by Salesforce, Google, or any other company in any way. I shared my knowledge on this topic in this blog post. Please always refer to Official Documentation for the latest information.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *