You are here:
Create Templates in Design Document Template With Microsoft Word or Microsoft PowerPoint
To create documents that contain formatted text, including tables of contents, tables, paragraphs, columns, and images, use Microsoft Word or Microsoft PowerPoint. Salesforce recommends that you create templates in Windows. You can also include tokens or variables to replace tokens with object values when you generate the document. To import the data, you can use a Omnistudio Data Mapper to retrieve large amounts of data (for example, over 1,000 records). After you create a document, create a document template and drag the document file into the document template designer.
Prerequisite: Ensure that the Design Document Templates in Salesforce setting is enabled.
{{product_name1}.| REQUIRED EDITIONS |
|---|
| Available in: Lightning Experience |
| Available in: Enterprise, Unlimited, Professional, and Developer Editions |
| USER PERMISSIONS NEEDED | |
|---|---|
| To create a template: | DocGen Designer permission set AND Microsoft 365 Word User permission set OR Microsoft 365 Word Desginer permission set |
- Create a document in Microsoft Word or Microsoft PowerPoint.
-
From the App Launcher, find and select Design Document
Template.
The Design Document Templa list view opens. You can search for existing templates by using the template name.
- Click Create Template.
-
In Template Details, enter these details:
- Enter the template name.
- Select Microsoft Word or Microsoft PowerPoint as the template type.
-
Select JSON as the token mapping method.
In Spring ‘24, Salesforce supports only the JSON token-mapping method.
-
In Token Mapping Details, enter the Data Mapper Transform name and Data Mapper Extract
name, if you’re using Data Mappers.
This section determines how the template’s tokens are populated. There’s a one-on-one mapping between Data Mappers and document templates designed using the Design Document Template. Existing Data Mappers can be linked to the document template created in the Design Document Template only if those Data Mappers aren’t already associated with other active document template.
- Select the document template usage type.
- Upload the Microsoft Word or Microsoft PowerPoint document.
-
Click Done.
You can view the document template in the document previewer.
- Save the document template version.
-
Perform these actions on the template designer:
- To download the template, click Download File
- To edit the template, click Open in Microsoft 365.
- To activate the template, click Activate. After you activate a document template, you can't delete the associated Microsoft 365 Word file.
- To delete the template, click Delete from the dropdown.

