---
schema_version: "1"
id: 4958c08272201cf69e911d3aaa532785d2a77246363a5bfc8de3339a646b0004
title: Salesforce Document Generation
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/264-0-0/rn_salesforce_document_generation.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_salesforce_document_generation.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 76d804bdfc519c346c15ea1c9c872ddbdd1c095a57a3e1c66dafe0d32ff00306
description: Build consistent, accurate documents by using reusable clauses for Salesforce Document Generation. Clauses in the Clause Library support both merge tokens and placeholder tokens. Quote Special Terms support placeholder tokens only. Reference clauses in document templates so templates stay current as clause content changes. Rich text tables now retain their formatting in generated Word documents, including pricing tables, comparison charts, and data summaries.
products:
  - Cross Cloud
release: "264"
---
# Salesforce Document Generation

Build consistent, accurate documents by using reusable clauses for Salesforce Document Generation. Clauses in the Clause Library support both merge tokens and placeholder tokens. Quote Special Terms support placeholder tokens only. Reference clauses in document templates so templates stay current as clause content changes. Rich text tables now retain their formatting in generated Word documents, including pricing tables, comparison charts, and data summaries.

- **[Populate Clause Content with Merge and Placeholder Tokens](https://help.salesforce.com/s/articleView?id=release-notes.rn_salesforce_document_generation_clause_merge_placeholder_tokens.htm&release=264.0.0&type=5)**  
    Add tokens to clauses so that account names, payment terms, discount amounts, and other data flow automatically into your contract language. Merge tokens pull data from Salesforce records via Omnistudio Data Mapper or Context Service. Placeholder tokens contain default values like strings, dates, currencies, and percentages.
- **[Eliminate Manual Template Updates When Clause Content Changes](https://help.salesforce.com/s/articleView?id=release-notes.rn_salesforce_document_generation_clause_tokens_runtime_resolution.htm&release=264.0.0&type=5)**  
    Avoid manual updates when clause language and terms change. Apply clause tokens to a document template to make sure that every generated document uses the current approved content. Then when a clause changes, the generated documents automatically include the updated content.
- **[Generate Documents That Include Tables in Rich Text Fields](https://help.salesforce.com/s/articleView?id=release-notes.rn_salesforce_document_generation_rich_text_tables.htm&release=264.0.0&type=5)**  
    Include tabular content, such as pricing tables, comparison charts, or data summaries, in your generated documents. When you copy a static table from an external source into a rich text field, the formatting, structure, and colors persist in the generated Word document. Only static table content is supported. You can’t use dynamic tokens in the table.
- **[Handle Document Generation Timeouts with Configurable Retry](https://help.salesforce.com/s/articleView?id=release-notes.rn_salesforce_document_generation_retry_timeout.htm&release=264.0.0&type=5)**  
    When document generation takes longer than expected, users can retry the request from Omniscript or the Generate Document experience instead of starting over. Admins can set a custom timeout on the generate-and-preview Lightning web component so users see a retry option within a predictable window.