mscrm-addons.com logo displayed here.mscrm-addons.com logo displayed here.
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/DocumentsCorePack(DCP)/The DocumentsCorePack Property Designer

The DocumentsCorePack Property Designer

4873 views 5 Updated on May 21, 2024

DocumentsCorePack templates consist of several properties like the “Document name: name of documents generated off a certain template”. Such properties can be configured to include

  • Static text
  • Dynamics 365/Dataverse field values  

This article provides an overview of how properties are defined, including its approach to adding fields, adding text, adding parameters, and modifying parameters. 

NOTE: These changes are only relevant to users with DCP Template Designer version 10.48 or higher. For information on the syntax of older versions, please see here

Overview 

The Property Designer is now split into two tabs.  The new Designer tab is the one selected by default.  If the older designer is still preferred, it can be accessed by clicking on the Text tab.  

The Propery Designer's new look
Figure 1: The Propery Designer’s new look

Fields can still be added by double clicking on them when using the new designer. However, the fields themselves now appear differently. 

The new look for our fields
Figure 2: The new look for our fields

Right-clicking on these fields brings up a context menu.  Here, you can select a variety of functions to add to your field from the Add Function submenu, set the field to its internal value, or delete the field entirely. 

A field's context menu
Figure 3: A field’s context menu

If a function is added, the field is expanded with the new function added to it.  If a function with a parameter is selected, the user can enter a value for the parameter. 

How parameters and functions are displayed
Figure 4: How parameters and functions are displayed

Under Add Function, a list of options are available: 

NOTE: For all examples, assume the X field will be “MSCRM-addons.com” after the merge 

Function Description Example 
Position (index, len) Will insert only the first len characters from the position of index X SubStr index 2, len 5 Result: “CRM-a” 
Left (index) Will insert the first index characters X Left 5 Result: “MSCRM” 
Right (index) Will insert the last index characters X Right 3 Result: “com” 
Upper Displays all characters in the field in upper case Result: “MSCRM-ADDONS.COM” 
Lower Displays all characters in the field in lower case Result: “mscrm-addons.com” 
Caps Displays the first character in a sentence in upper case Result: “Mscrm-addons.com” 
Firstcaps Displays the first character in a field in upper case Result: “Mscrm-addons.com” 
Invert Inverts the case of every character Result: “mscrm-ADDONS.COM” 

If Set to Internal Value is selected, the field will return the internal value instead of the value listed in your environment. 

Designer view
Figure 5: Field set to return its internal value in the Property Designer
Examples of datatypes when using their internal value
Figure 6: Examples of datatypes when using their internal value

Additionally, right-clicking within the empty space of the designer will bring up a separate context menu to add either a text field, or to add a function (either the guid, DATETIME, or DATETIME (with Format) functions).  Text fields can also be added by clicking on the “+” button and entering the text within the container. 

Figure 7: The other context menu

The following functions for this context menu are listed here: 

Function Description Example 
Guid Generates a unique serial number a310b0b0-82bd-4e63-8b5d-0d458eafbfc4 
DateTime Inserts the current local date 10/05/2023 
Without Spacing
DateTime(format, culture) 

With spacing
DateTime(format ‘ ‘ mm:ss, culture)
Inserts the current local time and date based upon the given format and culture. 

For more information on formatting, please click here.  For information on which cultures can be displayed, click here. 
Without spacing
dd.MMMM.yy.hh:mm, en-AT Result: 10.May.23.08:57 

With spacing
dd.MMMM.yy ‘ ‘ mm:ss, de-DE
Result: 06.Dezember.13 16:06

With certain functionalities (such as the Advanced String and QR Code functionalities), the context menu has an additional Add NewLine option. 

The extra "Add NewLine" option in the Advanced String properties window
Figure 8: The extra “Add NewLine” option in the Advanced String properties window

Finally, once a field has been added, it can be moved within the designer by dragging it and dropping it into the desired location. 

Features that use the updated Property Designer 

The following is a list of the features that use the new designer: 

  • Advanced Template Settings
    • Document Name and Subject 
    • General -> Note Creation Settings 
      • Note Title 
      • Note Description 
    • Document Protection
    • Subfolder
    • SharePoint Metadata
    • Dynamic Document Properties
  • Insert Field
    • QR Code
    • Advanced String
    • Calculated Field
    • Hyperlink
    • DateTime Field

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

Was this helpful?

5 Yes  4 No
Related Articles
  • Deploying DocumentsCorePack: Setup, Automation, and Real Business Impact in Dynamics365
  • Introducing the DocumentsCorePack Template Designer Office Add-In (Beta)
  • 3 Ways DocumentsCorePack Transforms Proposal, Quote, and Contract Creation
  • DeepSign for DocumentsCorePack 
  • Generate and send a document for e-signing using DeepSign
  • How to prepare a document for DeepSign
Leave A Comment Cancel reply

You must be logged in to post a comment.

Latest Articles
  • What Happens After You Deploy AttachmentExtractor: Storage & Cost Savings in Dynamics 365
  • Deploying DocumentsCorePack: Setup, Automation, and Real Business Impact in Dynamics365
  • Introducing the DocumentsCorePack Template Designer Office Add-In (Beta)
  • How to Eliminate Excess Storage Costs in Microsoft Dynamics 365 Without Losing Access to Emails and Attachments
  • 3 Ways DocumentsCorePack Transforms Proposal, Quote, and Contract Creation
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 to insert Condition Fields in DocumentsCorePack Templates designer
  • How licenses are counted
Categories
  • *News and General Infos* 64
  • Webinars 45
  • Template Designer(DCP 196
  • DocumentsCorePack(DCP 258
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 75
  • 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.