- Blog


This blog is deprecated since July 2020.The articles below are no longer maintained and might contain outdated information. 
You can find the most acutal and relevenat information in our Knowledge Base at Blog


Hello and welcome to our blog! What can we do for you? Are you looking for further technical information or step-by-step instructions to our products? Or would you like to read the latest news on mscrm-addons? Please feel free to browse our blog for detailed information and to share our posts!

DocumentsCorePack Property Syntax (Dynamics 365)

Certain properties of DocumentsCorePack templates consist of fixed text and Dynamics 365 fields. There are also some additional function calls available and data
from Dynamics 365 can also be manipulated.
Several DocumentsCorePack properties support the same syntax. A list of these
properties can be found at the end of this article. This article covers the basic syntax and the advanced options that can be used

  1. The basic syntax:
    Fields from Dynamics 365 are enclosed by << and >> when you insert them from the tree view.

    Figure 1: Fields

    Fixed text must be typed manually into the text field and must be enclosed by single quotes (' ).

    Figure 2: String
    To combine several Dynamics 365 fields and fixed text you have to use the plus sign (+). 

    Figure 3: Plus
  2. The advanced syntax:
    Function calls can be applied to Dynamics 365 fields by using . (dot) and the actual function call.
    There are also standalone method calls supported. The function call must end with brackets.
    Certain functions may also support parameters or have mandatory parameters. 
    Figure 4: Function pos with parameters 2 and 5

    Figure 5: Standalone function DATETIME without parameters

The following table contains a list of all available functions that can be applied to Dynamics 365 fields.
For all examples bellow please assume the <> field will be after the merge.





will insert y signs from the xth

Result: "CRM-a"


will insert the first x – signs.
E.g.: <>.left(5)

Result: "MSCRM"


will insert the last x signs of the string. E.g.: <>.right(3)

Result: "com"


displays all values in the field in capital letters.



displays all values in the field in small letters.

Result: ""


displays the first letter in the field before as capital letter.

Result: ""


displays the first letter in a
sentence in capital letter


reverses every case

Result: "mscrm-ADDONS.COM"

The following table contains a list with all available functions that can be applied to Dynamics 365 fields





generates a unique serial



inserts the actual and local date
and time

06.12.2013 16:06


there are many different
formatting options for displaying
the culture name for different
countries For more information
please click here.


mm:ss, de-DE)

For more information about the
different cultures which can be
displayed, please click here.

06.Dezember.13 16:06

This syntax applies to the following properties and special fields:

Template Properties 

  • Document Name and Subject
  • Sub Folder
  • Sharepoint Metadata

Special Document Fields

  • Calculated Fields
  • Advanced String
  • Hyperlink field
  • QR Code

That’s it! We appreciate your feedback! Please share your thoughts by sending an email to

Comments are closed.