mscrm-addons.com logomscrm-addons.com logo
  • Release History
  • Knowledge Base
  • Documentation
  • Contact Support
  • Release History
  • Knowledge Base
  • Documentation
  • Contact Support
home/Knowledge Base/Template Designer(DCP)/Dynamic Document Properties

Dynamic Document Properties

1084 views 0 Updated on August 22, 2024

Document properties, also known as metadata, are details about a file that describe or identify it. They include details such as the title, author name, subject, and keywords that identify the document’s topic or content.

With Dynamic Document Properties, dynamic values such as data from the Dataverse can be written to the properties of generated documents.

Prerequisites:

  • DocumentsCorePack Server version 2020.135
  • DocumentsCorePack TemplateDesigner version 10.38

In the following example, two properties are added to a Quote template.

Configuring Dynamic Document Properties in your template

Step 1: Open the template you want to add the properties to and navigate to Advanced Template Settings > Dynamic Document Properties.

The Dynamic Document Properties of your template.
Figure 1: Advanced Template Settings in DCP TemplateDesigner – Dynamic Document Properties

Step 2: Click on the Add dropdown. Here, you can select from a Text, Number, Date or Yes or no property.

Select your text property.
Figure 2: Different types of Text properties

Step 3: In this example, we will add properties for Destination (should hold the company name) and Quote number (should hold the ID of our quote) as Text properties. The Advanced String properties window opens. Now, ❶ select or enter a property from the drop-down. Next, select the ❷ fields that should be used in your pattern and confirm with ❸ [OK].

Please Note: When clicking ❹ Remove Custom DCP Properties, all [WordMailMergeFetchXX] properties are removed, and you have a better overview of the properties you generated yourself. Confirm with ❺ [OK].

Add properties to the template.
Figure 3: Add properties to the template.

Save and test your template

Once the template is saved you can run a test. A step-by-step description of how to test your template can be found here. 

Result 

An example of the Dynamic Document Properties for .docx format (MS Word):

The Dynamic Document Properties for .docx format (MS Word).
Figure 4: Result Dynamic DocumentProperties .docx

An example of the Dynamic Document Properties for .pdf format:

The Dynamic Document Properties for .pdf format.
Figure 5: Result Dynamics Document Properties .pdf

That’s it! We appreciate your feedback! Please share your thoughts by sending an email to support@mscrm-addons.com.

Was this helpful?

Yes  No
Related Articles
  • Debugging the Template Design Office Add-In 
  • Introducing the DocumentsCorePack Template Designer Office Add-In
  • Ensuring correct time zone display for DateTime fields
  • How to compare a date-fields with the current date 
  • Create a template for XML or plain text
  • E-Invoicing with DocumentsCorePack
Latest Articles
  • Locating Raw Inputs and Outputs in Power Automate
  • Step by Step: How to execute an OCA in a Power Automate flow 
  • The Hidden Cost of CRM Storage — And How to Eliminate It 
  • Recap: Nordic Summit 2025
  • The new Template Designer Office Add-In
Popular Articles
  • DocumentsCorePack Template Designer – Getting Started
  • Step-by-Step: How to configure a One-Click-Action
  • Application Access for Dynamics 365
  • How to find your environment’s unique name in Microsoft Dynamics 365
  • How licenses are counted
Top Rated Articles
  • “Undefined”-labels in Chrome and Edge 114 and higher
  • How to insert Condition Fields in DocumentsCorePack Templates designer
  • Important information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack Connector for PowerApps & Microsoft Flow
  • How licenses are counted
Categories
  • *News and General Infos* 65
  • Webinars 46
  • Template Designer(DCP 197
  • DocumentsCorePack(DCP 262
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 76
  • PowerSearch (PS 50
  • ActivityTools (AT 61
  • SmartBar (SB 54
  • GroupCalendar (GC 47
Our Vision

“We see it as our purpose to provide products that simplify and speed up our customers’ Microsoft Dynamics 365 experience.”

Knowledgebase
LogIn
mscrm-addons.com
  • Products
  • Online Shop
  • Downloads
  • My Account
About Us
  • About Us
  • Case Studies
  • Newsletter
  • Partner Program
  • Contact
Support
  • Support
  • Terms & Conditions
  • Documentation
  • Webinars
  • Legal Documents
  • Impressum
  • © 2025 www.mscrm-addons.com. All Rights Reserved.