> For the complete documentation index, see [llms.txt](https://help.sdocs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sdocs.com/sdocs/template-architecture/template-settings/advanced-options-tab.md).

# Advanced Options Tab

Use Advanced Options for template preview, export, and feature-specific integrations.

Use **Advanced Options** when you need preview, migration support, or feature-specific controls that do not fit the main page, document, or email settings tabs.

This tab groups together settings for testing, template portability, and e-signature features.

{% hint style="info" %}
Use **Advanced Options** for preview, export, and feature-specific integrations.

Use **Document Options** for file behavior, validation, and general generation settings.
{% endhint %}

### What you can configure in Advanced Options

The **Advanced Options** tab includes these settings:

* **Preview ID** — preview the template with data from a real Salesforce record.
* **Export Template** — generate a portable export string for migration or backup.
* **Enable S-Sign** — enable S-Sign features when the package is installed.

Some settings appear only when the related feature is installed, enabled, or supported by the template's base object.

### Preview and testing

Use preview settings while building or validating a template.

| Label          | Description                                                                              |
| -------------- | ---------------------------------------------------------------------------------------- |
| **Preview ID** | Enter a valid `15`- or `18`-character Salesforce record ID to enable **Save & Preview**. |

Preview uses real record data. It helps you verify merge fields, layout, page breaks, and conditional content before rollout.

Preview does not test downstream actions such as email delivery, task creation, or file creation.

Related guide:

* [How to Set Up Template Preview](https://help.sdocs.com/sdocs/template-architecture/template-settings/advanced-options-tab/how-to-set-up-template-preview.md)

### Template export and migration

Use export settings when you need to move a template between orgs or keep a backup outside Salesforce.

| Label               | Description                                                                                              |
| ------------------- | -------------------------------------------------------------------------------------------------------- |
| **Export Template** | Generate a text export of the template body, settings, prompts, and formatting for reuse in another org. |

The export string is designed for template migration and backup.

After import, you still need to review org-specific values such as preview records, sender addresses, and any referenced custom metadata or fields.

Related guide:

* [Template Lifecycle Management](https://help.sdocs.com/sdocs/template-architecture/template-settings/advanced-options-tab/template-lifecycle-management.md)

### Feature-specific integrations

Use these settings when your template depends on extra S-Docs or Salesforce capabilities.

| Label             | Description                                                           |
| ----------------- | --------------------------------------------------------------------- |
| **Enable S-Sign** | Turn on S-Sign support for templates that need e-signature workflows. |

#### Enable S-Sign

This setting is available when **S-Sign** is installed.

Enable it when the template will be sent for signature.

If S-Sign is not installed, this option is unavailable.

### When to use this tab

Use **Advanced Options** when you need to:

* preview a template against a real record before release
* export a template for sandbox-to-production migration
* enable S-Sign for signature workflows

### Related guides

* [How to Set Up Template Preview](https://help.sdocs.com/sdocs/template-architecture/template-settings/advanced-options-tab/how-to-set-up-template-preview.md)
* [Template Lifecycle Management](https://help.sdocs.com/sdocs/template-architecture/template-settings/advanced-options-tab/template-lifecycle-management.md)
* [Document Options Tab](https://help.sdocs.com/sdocs/template-architecture/template-settings/document-options-tab.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.sdocs.com/sdocs/template-architecture/template-settings/advanced-options-tab.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
