• Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/Template Designer(DCP)/Using sample data for data preview during template design

Using sample data for data preview during template design

841 views 2 Updated on July 25, 2022

The Sample Data option is intended to simplify the creation of templates by showing field values while mapping data into your template.

Prerequisite: This feature requires v10.25 of the DocumentsCorePack Template Designer (Download here).

Figure 1: Preview Data on the insert fields treeview (❶) based on configured sample record

Sample data is shown directly within the DocumentsCorePack Taskbar behind the respective field name enclosed by square brackets (see Figure 1, limit: 256 characters). It is also shown within the tooltips of the nodes to support preview and better readability of long text values (see Figure 2, limit: 1024 characters).

Figure 2: Sample Data in a tooltip for a long memo field

To make the most out of this feature the best procedure would be to find a representative record in your Dynamics 365 environment and to set this record as sample data as described below:

How to configure Sample Data

To set a sample record you have to open the “Insert fields dialog” and open the treeview settings, by clicking on the cogwheel (❶).

The Sample Data section (❷) allows to define:
Record: The selected Sample record.
Highlight Color: The color which is used to highlight sample date within the treeview.
Link data limit (1:N, M:N): The maximum amount of preview records of related tables (entities)

Figure 3: Treeview settings for Sample Data

To choose a representative record you either click on the magnifying glass (❶) to open the lookup dialog for the selection of a record (❷), or you directly start typing in the “Choose a value…” text part to enter the name of the record directly and hit enter.  

Figure 4: Sample Data selection

As soon as you have applied your configuration with “OK“, the treeview will update and show the preview data highlighted with the configured color. Note: The preview is also available for related Lookup-records that appear at the bottom of the treeview (select [+] to expand).

Figure 5: Sample Data in normal fields and lookup fields

Additional relationships tables (representing 1:N and M:N related records) most likely have several records available. For those, data is shown as a comma-separated list ending with “etc…” to indicate that there are several further line items with data.

Figure 6: Sample Data in additional relationship tables

Please note: Number, date, and other field types are displayed in the Dynamics 365 default format and culture of the user.

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

Was this helpful?

2 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.