Become a Dynamics 365 expert with Syvantis Learn
Provide additional details about the offer you're running.
This store requires javascript to be enabled for some features to work correctly.
Provide additional details about the offer you're running.
What are Word templates in Dynamics 365 CRM, and why should I use them?
Dynamics 365 Sales
Word templates in Dynamics 365 CRM make it easier to create consistently formatted documents using data already stored in CRM. They can pull information from a record and related records into documents such as quotes, contracts, project briefs, and contact directories, helping reduce manual data entry while keeping documents consistent.
What are Word templates in Dynamics 365 CRM?
Word templates are a useful tool when you need to create consistently formatted documents populated with information from Dynamics 365 CRM. In addition to fields on the primary record, templates can include information from related records. Common uses include quotes, contracts, project briefs, and contact directories. To use Word templates, you need access to both Microsoft Word and Dynamics 365 CRM. Depending on your security permissions, you may also need assistance from your CRM administrator for some of the setup steps.
Create a Word template
The first step is to download a Word template from Dynamics 365 CRM. This creates the connection between your Word document and the CRM data you want to use. Navigate to Document Templates in your Power Platform environment settings. There are system-provided templates you can review, or you can select New and choose Download Template > Word Template to create your own. Select the type of record your document will use. For example, if you're creating a quote, choose the Quote table. You can also select relationships that allow the template to include related records. For a quote, you might include Quote Products so the resulting document contains the individual products associated with that quote.
Enable the Developer tab in Word
Once you download and open your template, it may initially look like a blank Word document. To work with the CRM data contained in the template, you'll need to enable Word's Developer tab if it isn't already available. Go to: File > Options > Customize Ribbon Find Developer in the list and select the checkbox to enable it. Next, open the XML Mapping Pane from the Developer tab. From the dropdown in the pane, select the document template associated with your CRM table. You'll then be able to see the fields available for that table.
Add CRM fields to your document
You can start with an existing formatted document or create your desired layout in Word. Then, replace the appropriate parts of the document with dynamic CRM fields. Highlight the text you want to replace, locate the corresponding field in the XML Mapping Pane, right-click the field, and select Insert Content Control > Plain Text. Using Plain Text is important because other options can cause problems while working with the template. The field names shown in the XML Mapping Pane may also differ from the names you're accustomed to seeing in the CRM interface. These are the system or back-end names of the fields. If you have trouble identifying the correct field, your CRM administrator can help.
Add repeating lines of data
Word templates can also accommodate related records with multiple entries. For example, a quote may contain several quote product lines. To create repeating lines, highlight the entire row in Word that should repeat. In the XML Mapping Pane, locate the corresponding relationship, such as Quote Details, right-click it, and select Insert Content Control > Repeating. You can then add individual fields within that repeating section, such as the product name or price per unit, using Insert Content Control > Plain Text. When the finished template is populated from CRM, Word will repeat the row for the applicable records.
Upload your Word template to Dynamics 365 CRM
Once you've finished adding your dynamic fields, save the Word document. Return to Document Templates in Dynamics 365 CRM and select Upload Template > Word Template, then choose your saved file and upload it. If you're having issues while building your template, AutoCorrect in Word can sometimes interfere with the fields. Turning AutoCorrect off may help resolve issues such as Word automatically changing capitalization.
Populate your template with CRM data
After the template has been uploaded, open the CRM record you want to use. From the record's command bar, select the three dots, choose Word Templates, and select your template. Dynamics 365 CRM will generate a Word document and populate the dynamic fields with information from the record and the related data included in your template. For example, a quote template can automatically populate details such as the quote number, description, product lines, prices per unit, and totals.
Convert Word templates to PDF
Dynamics 365 CRM also lets you convert supported Word templates into PDFs. From the appropriate record, select Export to PDF and choose the Word template you want to use. From there, you can customize the file name, download the PDF, or email it directly from CRM. With additional setup, the document can also be saved to SharePoint. If the Export to PDF option isn't available for the type of record you're using, it may need to be enabled. In the Sales Hub app settings, go to Productivity Tools > Convert to PDF and select the table where you want the functionality enabled. You may need help from your administrator if you don't have the necessary permissions.
Limitations of Word templates
Word templates work well for straightforward, consistently formatted documents, but they do have limitations. Word templates cannot:
When your document requires capabilities like these, Power Automate may be a better option for generating the document.
Why use Word templates in Dynamics 365 CRM?
Word templates provide a convenient way to turn CRM data into consistently formatted documents for both internal and customer-facing use. Once a template is configured and uploaded, users can quickly generate documents using information already stored in CRM instead of repeatedly copying and formatting that information by hand. By creating the template once and reusing it across records, teams can make documents such as quotes, contracts, project briefs, and contact directories easier to produce while maintaining a consistent format.
* This transcript summary has been generated from the Fast Class video by Microsoft Copilot. The Fast Class itself was prepared and taught by Syvantis expert consultants.
TUNE INTO THE LIVE CLASS
Ask your questions and get real-time responses from your trusted Syvantis consultants.
What's on the schedule?
Dynamics 365 Business Central
Dynamics 365 Sales (CRM)
Dynamics 365 Customer Insights
Power Platform
Keep learning...
Business Process Designers. Technical Experts. Dedicated Partners.