For the complete documentation index, see llms.txt. This page is also available as Markdown.

Generate Documents (S-Docs) Settings

Exact settings and behavior notes for the Generate Documents S-Docs Lightning component.

Use this page when you need the exact configuration options for Generate Documents (S-Docs).

This component shows templates and starts document generation from a Salesforce record page.

Settings

Setting
Use it for
Key behavior

Title

Set the component header on the record page.

Recommended value: Templates to Generate

Object API Name

Define the base Salesforce object for generation.

Must match the record page object and the Documents (S-Docs) component. Set this first.

Template Name

Show one fixed template.

Use this when the component should load a single template by name.

Template IDs or Names

Show multiple fixed templates.

Use this when the component should load several templates by name or ID.

Notify User

Show a completion message after generation.

Best when users need immediate confirmation that generation finished.

Open Preview

Open the generated file immediately.

Best when users usually review output before the next step.

Allow Users to Select Templates

Let users choose templates at runtime.

Use this when the page should expose multiple template options to end users.

Reuse Template for Multiple Documents

Run one template for several documents in one flow.

Useful when users repeat the same template action from the same page.

System Mode Generation (Experience Cloud)

Allow guest-user generation in Experience Cloud.

Use only for Experience Cloud guest-user scenarios. See [Configuring S-Docs Lightning Web Components in Experience Cloud](/spaces/WKNnJmhJBQwhdk5WBFsi/pages/iBfBHJQCeShUKYBee1ey).

Use Template Name for one template.

Use Template IDs or Names for multiple templates.

Always set Object API Name before the other properties.

Last updated

Was this helpful?