• Documentation
  • Back to www.mscrm-addons.com
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/Template Designer(DCP)/How do I create dates with ordinals with DocumentsCorePack field properties?

How do I create dates with ordinals with DocumentsCorePack field properties?

155 views 0

Ordinal numbers are words representing position or rank in a sequential order. The order may be of size, importance, chronology, or else. These numbers may be written in English with numerals and letter suffixes: 1st, 2nd, 3rd, 4th, 5th etc. Because ordinal numbers can be an important part of documents, we have created a possibility to add ordinal numbers to templates. This step-by-step tutorial describes how to utilize an already prepared field function in your template(s) in order to place ordinals. 

 

Please note: This article requires an already created template. If you haven’t created a template yet, please have a look at this article.  The attached document is as well a template that can be merged with an account. If you haven’t merged a template yet, please have a look at this article. 

Ordinal numbers template

Step 1: Enable the field codes of your template

Open your template. If you are not seeing the field codes in this template, simply hit ‘ALT’+’F9’ on your keyboard to toggle the view. General information about field codes can be found here.

 

Step 2: Delete the current field used

Place your cursor in the <> and hit “delete field” in our ribbon.
This is how the <> looks like once it is extended:

Step 3: Copy the whole block an past it into your template 
Copy the block from the actual attached document only. Just copy  and pasting the above text will not work!

Step 4: Insert a field of your choice
Now replace the <> field by a field of your choice. You could add a data field or any other numeric field from the Template Designer TreeView. In this case, only the day is displayed.

Step 5: Open the field properties
Next, please open the field properties with a right click and insert a ‘d’ into the Format field.

Figure 1: Field properties

Please note: Sometimes, it can be necessary to add the month and year after the ordinal as well. In that case, simply add another date field again behind the ordinal and insert the required field properties. Learn how to insert fields here.  As the day is already represented as ordinal, you only have to apply a format that displays the month and year (For example, MMMM yyyy). Get more information on how to custom date and time formats here.

For all the hardcore geeks who would like to get more information about the technical background of the function, please have a look at this article. 

 

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

​reworkneeded.. still valid.. is there a better way?

Was this helpful?

Yes  No
Related Articles
  • How to solve the issue with DocumentsCorePack fields in Arabic text
  • How to access mscrm-addons product settings in Dynamics 365
  • How to create totals in the footer of a table
  • How to set a specific Language in your Template
  • Azure Active Directory Licensing counts explained
  • When to use the „Do not use DataProvider“-setting in DocumentsCorePack
Leave A Comment Cancel reply

Latest Articles
  • How to display various activity-attributes within multiple rows in Gantt view
  • Recap: European Power Platform Conference 2022
  • How to solve the issue with DocumentsCorePack fields in Arabic text
  • How to access mscrm-addons product settings in Dynamics 365
  • One-Click-Actions (OCAs) in DocumentsCorePack
Popular Articles
  • DocumentsCorePack Online Service Configuration
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • mscrm-addons.com Application Access for Dynamics 365 (App Access) – DocumentsCorePack
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • How licenses are counted
Top Rated Articles
  • IMPORTANT information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • Step-by-Step: How to configure a One-Click-Action
  • Can you save data capacity by moving email content?
  • DocumentsCorePack Property Syntax (Dynamics 365)
Categories
  • *News and General Infos* 50
  • Template Designer(DCP 160
  • DocumentsCorePack(DCP 180
  • TelephoneIntegration (TI 64
  • AttachmentExtractor (AE 55
  • PowerSearch (PS 43
  • ActivityTools (AT 57
  • SmartBar (SB 51
  • GroupCalendar (GC 45
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.