Welcome to Zuora Product Documentation

Explore our rich library of product information

Create templates in S-Docs for MSQ

Learn how to configure and activate S-Docs templates for use with the new CPQ X Quote Studio UI.

This article will help you understand how to configure S-Docs templates to a Template (child and parent quote) for Each Record in a List of Records.

Note: S-Docs is currently available for users who have adopted the new CPQ X Quote Studio UI.

You must configure and activate at least one template before using S-Docs.

  1. Create a component template.
    1. Navigate to the S-Docs app in the Salesforce UI.
    2. Click the S-Docs Templates tab. This page is where all of your templates will appear.
    3. Click New to create a new template. The resulting page is the template creation page.

      See the following table for the description of each field:

      Field

      Description

      Template Name

      Enter a template name. This field is required.

      Description

      Optionally add a description.

      Document Version

      Optionally use this field to track any internally used version number (or date) for this template.

      Template Format

      Select Component .

      Related to Type

      Pick an object from the picklist. Select Zuora Quote .

      Available for Use

      Keep this box checked (it is checked by default). This ensures that the template is visible for new document creation.

      Initially Visible

      Keeping this box checked (it is checked by default) will make this template visible on the initial load of the document creation page based on the object type. Typically, you want to set this checkbox for the 10 most used templates for each object type.

      Allow Edit

      If you want users to be able to edit this document after it has been generated, check this box.

    4. Click Save .
  2. Navigate to the S-Docs app in the Salesforce UI.
  3. Click the S-Docs Templates tab. This page is where all of your templates will appear.
  4. Click New to create a new template. The resulting page is the template creation page.

    See the following table for the description of each field:

    Field

    Description

    Template Name

    Enter a template name. This field is required.

    Description

    Optionally add a description.

    Document Version

    Optionally use this field to track any internally used version number (or date) for this template.

    Template Format

    Pick an output format. Select PDF.

    Related to Type

    Pick an object from the picklist. Select Zuora Quote.

    Available for Use

    Keep this box checked (it is checked by default). This ensures that the template is visible for new document creation.

    Initially Visible

    Keeping this box checked (it is checked by default) will make this template visible on the initial load of the document creation page based on the object type. Typically, you want to set this checkbox for the 10 most used templates for each object type.

    Allow Edit

    If you want users to be able to edit this document after it has been generated, check this box.

  5. Once you've completed the configuration, click Save .

    S-Docs sample template codes for Component template (Child quote) and Parent template :