---
schema_version: "1"
id: 3702526ff70267e4cb9a34b910e962fd260523b44addebc676b0414f864c48f8
title: Client-Side and Server-Side Omnistudio Document Generation Compared
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/doc_gen_client_side_server_side_docgen_compared_392343.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.doc_gen_client_side_server_side_docgen_compared_392343.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8cbef0787d7f4cdd336bad9c043b18de245916ccd3abe5943737ecad7376ed64
description: Omnistudio Document Generation provides both client-side and server-side document generation. To help you decide when to use each method, learn about their common use cases and limitations.
products:
  - Omnistudio Document Generation
release: "264"
---
# Client-Side and Server-Side Omnistudio Document Generation Compared

Omnistudio Document Generation provides both client-side and server-side document generation. To help you decide when to use each method, learn about their common use cases and limitations.

## Comparison

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d22474e40">
              <p style="margin-bottom:0;">Client-Side</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d22474e46">
              <p style="margin-bottom:0;">Server-Side</p>
            </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Client-Side" class="slds-cell-wrap" style="vertical-align:top;" headers="d22474e40 ">
              <p style="margin-bottom:0;">Document generation is initatied by sales reps on demand in the user
                interface.</p>
            </td>

            <td data-label="Server-Side" class="slds-cell-wrap" style="vertical-align:top;" headers="d22474e46 ">
              <p style="margin-bottom:0;">Document generation occurs on a schedule or is triggered by automation.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Client-Side" class="slds-cell-wrap" style="vertical-align:top;" headers="d22474e40 ">
              <p style="margin-bottom:0;">Best for documents with less than 200 quote lines, contract lines, rate sheet
                lines, and so on.</p>
            </td>

            <td data-label="Server-Side" class="slds-cell-wrap" style="vertical-align:top;" headers="d22474e46 ">
              <p style="margin-bottom:0;">Best for documents with lots of token processing, heavy tabulation, or more than
                200 line items.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Client-Side" class="slds-cell-wrap" style="vertical-align:top;" headers="d22474e40 ">
              <p style="margin-bottom:0;">Best for lightweight documents that don't overload web browser resources.</p>
            </td>

            <td data-label="Server-Side" class="slds-cell-wrap" style="vertical-align:top;" headers="d22474e46 ">
              <p style="margin-bottom:0;">Best for generating large batches of documents.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Client-Side" class="slds-cell-wrap" style="vertical-align:top;" headers="d22474e40 ">
              <p style="margin-bottom:0;">Best for on-demand generation and point solutions.</p>
            </td>

            <td data-label="Server-Side" class="slds-cell-wrap" style="vertical-align:top;" headers="d22474e46 ">
              <p style="margin-bottom:0;">Best for trigger-based document generation (for example, generating documents
                based on a Case status change).</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Client-Side" class="slds-cell-wrap" style="vertical-align:top;" headers="d22474e40 ">
              <p style="margin-bottom:0;" id="doc_gen_client_side_server_side_docgen_compared_392343__uuid-834e4469-a802-6f66-114c-c848a6a3c7a1_para-idm263262576454346"><a name="doc_gen_client_side_server_side_docgen_compared_392343__uuid-834e4469-a802-6f66-114c-c848a6a3c7a1_para-idm263262576454346"><!-- --></a>Supports
                default, extended, and custom fonts. </p>
            </td>

            <td data-label="Server-Side" class="slds-cell-wrap" style="vertical-align:top;" headers="d22474e46 ">
              <p style="margin-bottom:0;" id="doc_gen_client_side_server_side_docgen_compared_392343__uuid-834e4469-a802-6f66-114c-c848a6a3c7a1_para-idm263262576404836"><a name="doc_gen_client_side_server_side_docgen_compared_392343__uuid-834e4469-a802-6f66-114c-c848a6a3c7a1_para-idm263262576404836"><!-- --></a>Supports
                only specific default fonts. For more information, see <a href="https://help.salesforce.com/s/articleView?id=ind.doc_gen_fonts_for_server_side_document_generation.htm&amp;release=264.0.0&amp;type=5" title="Server-Side document generation supports a specific set of fonts for Document Templates. Custom fonts aren't supported.">Fonts for Server-Side Document Generation</a>.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Client-Side" class="slds-cell-wrap" style="vertical-align:top;" headers="d22474e40 ">
              <p>Supports Customer Community Plus, Customer Community, and Partner Community users
                to generate documents using client-side Omniscripts. The client-side Omniscripts
                are:</p>
              <ul>
                <li>
                  <p>
                    <a href="https://help.salesforce.com/s/articleView?id=ind.doc_gen_foundation_docgenerationsample_fndmultidocxlwc_omniscript_394703.htm&amp;release=264.0.0&amp;type=5" title="The fndmultiDocxLwc Omniscript supports the generation of documents from more than one document template at a time. It supports both Microsoft Word and Microsoft PowerPoint templates.">Generate Multiple Client-Side Documents</a>
                  </p>
                </li>

                <li>
                  <p>
                    <a href="https://help.salesforce.com/s/articleView?id=ind.doc_gen_foundation_docgenerationsample_fndmultipdfconvertlwc_omniscript__394874.htm&amp;release=264.0.0&amp;type=5" title="The fndmultiPDFConvertLwc Omniscript converts a generated Microsoft Word (.docx) or Microsoft PowerPoint (.pptx) document into a .pdf file. This Omniscript can convert one or more documents simultaneously into .pdf format.">Convert Client-Side Documents into PDF Files</a>
                  </p>
                </li>

                <li>
                  <p>
                    <a href="https://help.salesforce.com/s/articleView?id=ind.doc_gen_foundation_client_side_document_generation_omniscript_394281.htm&amp;release=264.0.0&amp;type=5" title="Single document generation is supported using the customizable fndSingleDocxLwc Omniscript. The Omniscript creates client-side documents from your Microsoft Word DOCX or Microsoft PowerPoint PPTX templates.">Generate a Single Client-Side Document</a>
                  </p>
                </li>

              </ul>
            </td>

            <td data-label="Server-Side" class="slds-cell-wrap" style="vertical-align:top;" headers="d22474e46 ">
              <p style="margin-bottom:0;">Supports Customer Community Plus, Customer Community, and Partner Community users
                to generate documents using server-side Omniscripts. The server-side Omniscript is
                <a href="https://help.salesforce.com/s/articleView?id=ind.doc_gen_foundation_server_side_document_generation_omniscript_391850.htm&amp;release=264.0.0&amp;type=5" title="The customizable sample fndSingleDocxServersideLwc Omniscript generates server-side documents from your Microsoft Word DOCX or Microsoft PowerPoint PPTX templates. You enter the Object ID, pick a template, select generation options, and generate the document.">Omnistudio Server-Side Document Generation Omniscript</a> .
              </p>
            </td>

          </tr>
        </tbody>
      </table>

## Limitations

These limits apply for Client-Side and Server-Side document generation:

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d22474e224">
              <p style="margin-bottom:0;">Client-Side</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d22474e230">
              <p style="margin-bottom:0;">Server-Side</p>
            </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Client-Side" class="slds-cell-wrap" style="vertical-align:top;" headers="d22474e224 ">
              <p style="margin-bottom:0;">Content Version daily limit: The generated documents are stored in Salesforce
                Content. Each org type has a daily limit (per 24 hours) on how many .docx and .pdf
                documents can be generated and stored. For more information, see <a href="https://help.salesforce.com/s/articleview?id=000334861&amp;type=1" target="_blank">Content Version Limit</a>.</p>
            </td>

            <td data-label="Server-Side" class="slds-cell-wrap" style="vertical-align:top;" headers="d22474e230 ">
              <p style="margin-bottom:0;">Content Version daily limit: The generated documents are stored in Salesforce
                Content. Each org type has a daily limit (per 24 hours) on how many .docx and .pdf
                documents can be generated and stored. For more information, see <a href="https://help.salesforce.com/s/articleview?id=000334861&amp;type=1" target="_blank">Content Version Limit</a>.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Client-Side" class="slds-cell-wrap" style="vertical-align:top;" headers="d22474e224 ">
              <p style="margin-bottom:0;">File Storage limit: The org’s file storage limit is calculated by a base
                allocation. It's based on your Salesforce org edition plus a per-user allocation
                multiplied by the number of standard licensed users in the organization. For more
                information, see <a href="https://help.salesforce.com/s/articleview?id=experience.files_storage.htm&amp;type=5" target="_blank">File Storage Limit</a>.</p>
            </td>

            <td data-label="Server-Side" class="slds-cell-wrap" style="vertical-align:top;" headers="d22474e230 ">
              <p style="margin-bottom:0;">File Storage limit: The org’s file storage limit is calculated by a base
                allocation. It's based on your Salesforce org edition plus a per-user allocation
                multiplied by the number of standard licensed users in the organization. For more
                information, see <a href="https://help.salesforce.com/s/articleview?id=experience.files_storage.htm&amp;type=5" target="_blank">File Storage Limit</a>.</p>
            </td>

          </tr>
        </tbody>
      </table>