In this Pragmatic Works training session, Nate Halliwell walks viewers through one of the most underrated efficiency boosters in the Power Platform: Dataverse Word Document Templates. He explains how users can dynamically generate polished documents directly from Dataverse tables—without requiring code, flows, or complex setups. The lesson covers downloading schema-driven templates, customizing Word files using XML mapping, deploying templates to all users, and even migrating templates between environments.
Nate begins by demonstrating a simple model-driven app with two tables: Courses and Course Evaluations. The objective is to create a standardized Word document template that allows users to “print” any selected record with all of its related data. While alternatives like Power Automate and custom code exist, Nate focuses on the quickest, most accessible method built directly into Dataverse.
Within the model-driven app, Nate selects a record to reveal the Word Templates option. Although no template exists yet, he clicks Download Template to generate a base Word file tied to the schema of the selected Dataverse table.
During this step, Nate chooses which related tables to include:
Once downloaded, the Word file appears blank, but it secretly contains the Dataverse schema embedded within XML structures.
Nate enables the Word Developer tab and opens the XML Mapping Pane. Inside, he locates the custom schema corresponding to the Course table. Expanding the XML tree reveals every field from the course record, plus fields from related instructor and evaluation tables.
To design the template layout, Nate adds:
Each field is inserted using Content Controls (plain text), ensuring the final document populates dynamically from Dataverse data.
A critical portion of the tutorial shows how to include multiple related records—such as several course evaluations—using a Repeating Section.
For this, Nate:
This ensures that any number of evaluations populate automatically when the document is generated.
After designing the document, Nate saves it as print course.docx and uploads it via the Word Templates menu inside the app. This creates a personal template visible only to the creator. Clicking the template downloads a generated Word file filled with real data, confirming everything works as intended.
To make the template available across the organization, Nate navigates to:
Refreshing the application shows the template under global Word Templates, ensuring all end-users can access it.
Nate ends the video with a powerful trick: using XRM Toolbox and the Document Template Mover plugin to transfer templates between environments without rebuilding them.
He selects:
After clicking Transfer Templates, the template appears instantly in the target environment—no extra configuration needed.
Nate concludes by encouraging organizations to leverage Word templates to eliminate repetitive copy‑and‑paste work. By empowering users with automated document creation, teams save time and improve accuracy.
Don't forget to check out the Pragmatic Works' on-demand learning platform for more insightful content and training sessions on Dataverse and other Microsoft applications. Be sure to subscribe to the Pragmatic Works YouTube channel to stay up-to-date on the latest tips and tricks.