# Generate Documents (S-Docs) Settings

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

<table data-full-width="true"><thead><tr><th>Setting</th><th>Use it for</th><th>Key behavior</th></tr></thead><tbody><tr><td><strong>Title</strong></td><td>Set the component header on the record page.</td><td>Recommended value: <code>Templates to Generate</code></td></tr><tr><td><strong>Object API Name</strong></td><td>Define the base Salesforce object for generation.</td><td>Must match the record page object and the <strong>Documents (S-Docs)</strong> component. Set this first.</td></tr><tr><td><strong>Template Name</strong></td><td>Show one fixed template.</td><td>Use this when the component should load a single template by name.</td></tr><tr><td><strong>Template IDs or Names</strong></td><td>Show multiple fixed templates.</td><td>Use this when the component should load several templates by name or ID.</td></tr><tr><td><strong>Notify User</strong></td><td>Show a completion message after generation.</td><td>Best when users need immediate confirmation that generation finished.</td></tr><tr><td><strong>Open Preview</strong></td><td>Open the generated file immediately.</td><td>Best when users usually review output before the next step.</td></tr><tr><td><strong>Allow Users to Select Templates</strong></td><td>Let users choose templates at runtime.</td><td>Use this when the page should expose multiple template options to end users.</td></tr><tr><td><strong>Reuse Template for Multiple Documents</strong></td><td>Run one template for several documents in one flow.</td><td>Useful when users repeat the same template action from the same page.</td></tr><tr><td><strong>System Mode Generation (Experience Cloud)</strong></td><td>Allow guest-user generation in Experience Cloud.</td><td>Use only for Experience Cloud guest-user scenarios. See [Configuring S-Docs Lightning Web Components in Experience Cloud](/spaces/WKNnJmhJBQwhdk5WBFsi/pages/iBfBHJQCeShUKYBee1ey).</td></tr></tbody></table>

{% hint style="info" %}
Use **Template Name** for one template.

Use **Template IDs or Names** for multiple templates.

Always set **Object API Name** before the other properties.
{% endhint %}

### Related pages

* [S-Docs LWC Reference](/developer-hub/document-generation-workflows/apex-and-programmatic-automation/s-docs-lwc-reference.md)
* [Add S-Docs Lightning Components to a Record Page (Tutorial)](broken://spaces/WKNnJmhJBQwhdk5WBFsi/pages/XCiYC5lAUjTADjNHGYJO)
* [Configuring S-Docs Lightning Web Components in Experience Cloud](broken://spaces/WKNnJmhJBQwhdk5WBFsi/pages/iBfBHJQCeShUKYBee1ey)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.sdocs.com/developer-hub/document-generation-workflows/apex-and-programmatic-automation/s-docs-lwc-reference/generate-documents-s-docs-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
