Add the Generate Document Component to a Screen Flow
Use the Generate Document component in a Screen Flow to generate and optionally merge
documents. Customize the flow to filter templates, select files, and control merge behavior. When
generation starts, the component processes the request, shows a preview, and provides download
options.
Required Editions
Available in: Lightning Experience
Available in: Professional, Enterprise, Unlimited, and
Developer Editions
User Permissions Needed
To invoke Generate Document LWC from a Screen Flow:
Drag the Generate Document component into the screen.
Map flow variables to the component’s input parameters, such as the Output Document Name,
Document Template, recordId, and Service Function.
To merge documents, add PDF IDs, and pass the list to the component.
Save and activate the Screen Flow.
The Flow generates documents as part of a guided process and attaches them to the
record.
For users to run the Screen Flow from a record page, create a custom action that launches
the Flow from the record page.
Løste denne artikel dit problem?
Giv os besked, så vi kan forbedre os!
Indlæser
Salesforce Help | Article
Cookie Consent Manager
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.