• Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/Template Designer(DCP)/Dynamic Document Properties

Dynamic Document Properties

933 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
  • 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
  • How to add content from SharePoint to a document
  • Using MS Word field codes in DocumentsCorePack templates
Latest Articles
  • DocumentsCorePack: Best practices for Dynamics 365 on-premises to online migration projects
  • Multilingual Support in DocumentsCorePack
  • Recap: ColorCloud 2025
  • Configure DocumentsCorePack within custom pages
  • AI-Powered Document Generation with Copilot in Sales
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
  • 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
  • How to insert Condition Fields in DocumentsCorePack Templates designer
Categories
  • *News and General Infos* 62
  • Webinars 44
  • Template Designer(DCP 196
  • DocumentsCorePack(DCP 250
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 72
  • 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
  • © 2022 www.mscrm-addons.com. All Rights Reserved.