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

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

RequirementNeed 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

Submit a Comment

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