Open Generated S-Docs in Live Edit from Screen Flow
Build a Screen Flow that lets users select a record, choose a generated S-Doc, and open it in Live Edit from an Experience Cloud page.
Use this guide when you want a Screen Flow to open an existing generated S-Doc in Live Edit.
Use this pattern in Experience Cloud when users need guided access to editable documents.
Start here if you are newer to Flow
New to Flow? Start with Getting Started: Automate Document Generation.
Prerequisites
A Screen Flow
A template with Allow Edit enabled
A generated SDoc record from that template
Access to the Flow, base record, related SDoc record, and generated file
Two screen table components that each allow one selected row

Step-by-step tutorial
Step 1: Create or open the Screen Flow
Open Flow Builder.
Create a Screen Flow, or open an existing one.
Use a Screen Flow because users must choose a record and a document on Flow screens.
Step 2: Get the records users can work with
Add a Get Records element for the records users should see.
Filter for the records this experience should expose.
Sort the results in descending order.
Choose Store all records.
Step 3: Add the first selection screen
Add a Screen element with a table component.
Show the record collection from the first Get Records element.
Allow one selected row.
Add another Get Records element after the screen.
Use the selected row value to store one base record for later steps.
Step 4: Get the related S-Docs and let the user choose one
Add a Get Records element for SDoc records.
Filter the SDoc object for documents related to the selected base record.
Return only documents the user should be able to edit.
Add a second Screen with a table component.
Show the returned SDoc records.
Allow one selected row.
Step 5: Add the SDoc Edit Live component
Add a final Screen element.
Drag the SDoc Edit Live component onto the screen.
Map the selected SDoc ID into the component.
Make sure you pass the selected row from the SDoc table, not the base record ID.
Step 6: Save, activate, and place the Flow
Save the Flow.
Activate it.
Add the Flow to the target page in Experience Builder.
Then test the full path and confirm users can:
select a record
select a related S-Doc
open the document in Live Edit
Step 7: Confirm access and sharing
Grant the target profile or permission set access to the Flow.
Make sure users can access the base record.
Make sure users can access the related SDoc record.
Make sure users can access the generated file used by Live Edit.
If any one of these is missing, the Flow can open while the document list or editor fails to load.
Troubleshooting and common errors
Advanced configurations and reference
Field-level action details: Flow Reference
Supported formats: PDF and PDF-Upload
Required template setting: Allow Edit
Required component input: the selected SDoc ID
Use Configure Live Editing for template setup details
Use Using Salesforce Flows with S-Docs in Experience Cloud for site setup details

