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.
You must configure and activate at least one template before using S-Docs.
- Create a component template.
- Navigate to the S-Docs app in the Salesforce UI.
- Click the S-Docs Templates tab. This page is where all of your templates will appear.
- 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.
- Click Save .
- Navigate to the S-Docs app in the Salesforce UI.
- Click the S-Docs Templates tab. This page is where all of your templates will appear.
- 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.
- Once you've completed the configuration, click Save .
S-Docs sample template codes for Component template (Child quote) and Parent template :