How to use images as Static Resource in Salesforce Flow

by Sudipta Deb | Jan 7, 2021 | admin, Advanced Admin, flow, Image, Static Resource | 0 comments

Sudipta Deb

Sudipta Deb

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

This blog post will cover – “How to use images in Salesforce Flow?” 

I will be implementing two use cases where in the first use case, it will be just displaying the image, wherein the second use case, it will be displaying the image along with logged-in user name in the same line.

Use Case I

Requirement: Need to display “Welcome” image without any text in the first screen of the flow.
 
Implementation:

Step 1

The form you have selected does not exist.

Upload the image as a static resource.

Step 2

Create a screen flow and include the Display Image flow component. Image Name will be the name of the Static Resource name,  Horizontal Alignment will be either left, center, or right. You can include CSS styling, Image Height, and Image Width.

Final Screen:

Use Case II

Requirement: Need to display “Welcome” image with logged-in user name in the first screen of the flow.
Implementation:

Step 1

We will use the same image from the previous use case.

Step 2

Create a screen flow and inside the flow first, let’s create a constant of type text as shown below –

In the value section, replace Welcome with the name of your static resource.

Step 3

In the flow screen, use the Display Text flow component and use the constant and flow variable as shown below –

Final Screen:

I hope this will help you to use images as Static Resources in Salesforce Flow. 

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

Leave a Reply

Written by

Related Posts

Perform Inline Edit And Sort Inside Flow Data Table

Perform Inline Edit And Sort Inside Flow Data Table

I’ll show you exactly how to use the new data table component features from Salesforce’s Spring 26 release. Learn how to implement inline editing and column sorting directly within your screenflow, making your workflow automation more efficient. This update offers significant enhancements for any salesforce developer working with flowbuilder.

Also I have shown how to save the inline edit changes properly in the salesforce.

read more...

0 Comments

Leave a Reply