Loading
Prepare for Email to Become the Default Login ExperienceRead More
Intermittent freezing when using using certain browser versionsRead More
Automate Your Business Processes with Salesforce Flow
File Preview Screen Component

File Preview Screen Component

Display a preview of a file in a screen flow.

Required Editions

Configure the File Preview Component

Attribute Description
API Name

The API name of the component.

An API name can include underscores and alphanumeric characters without spaces. It must begin with a letter and can’t end with an underscore. It also can’t have two consecutive underscores.

Content Document ID Required. The ID of the ContentDocument object to preview.
Label

The label that appears before the file preview.

This attribute accepts single-value resources. The value is treated as text.

Set the Component Visibility

Specify the logic that determines when the flow displays the component.

Option Description
When to Display Component

Configure when the component is displayed by using conditional logic.

You can set the components to:

Always
Always display the component.
When all conditions are met (AND)
Display the component when all of the conditions that you define are met. Define at least one condition.
When any condition is met (OR)
Display the component when at least one of the conditions that you define is met. Define at least one condition.
When custom conditional logic is met
Display the component when the condition logic that you define is met. Define at least one condition and specify condition logic.
Example
Example

In a customer service flow, display a preview of an uploaded receipt or document so agents can verify information without downloading the file.

 
Loading
Salesforce Help | Article