• Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/Template Designer(DCP)/How to create label templates with DocumentsCorePack TemplateDesigner

How to create label templates with DocumentsCorePack TemplateDesigner

727 views 2 Updated on March 9, 2023

This article explains how to create label templates with DocumentsCorePack TemplateDesigner.

Requirements: DocumentsCorePack for MS CRM 2013 (Client 6.33) and higher.

There are two options to create and merge a label template. 

A. Select various records at once – each label equals one record from the main entity of the template.
(For example, if you want to merge an account label template for a few companies, you can select different companies at once. As a result, you get one label per selected account.)

B. Select one record and set relations – each label equals one record from the predefined relationship.
(For example, if you want to merge an Account Label Template for one company, but different employees, you can select one company to receive all related contacts. As a result, you get one label per related contact.)

Option A – Select various records at once

How to create a label template

Please note: In general, all Microsoft Word formatting options are supported. However, the label template must be created in advance and saved as .docx.

1. To begin creating your label template, open MS Word and navigate to the www.mscrm-addons.com tab and click on the Insert MailMerge Fields button.

The www.mscrm-addons.com tab in MS Word.
Figure 1: Word ribbon www.mscrm-addons tab

2. The DocumentsCorePack TemplateDesigner opens. Press the ❶ Advanced Template Settings. The Template Settings open.

Select the ❷ General tab. In the General Settings overview, check off ❸ Mark as Label Template.

❹ If you press the edit button, the Label Template Sorting dialog opens. Here you can setup a sorting for your labels if this is required, such as for names or postal codes. (see Figure 3)

❺ Press the OK button.

The TemplateDesigner settings.
Figure 2: TemplateDesigner Settings

In this optional Label Template settings, you can specify several sorting criteria. In this example, the labels are sorted by name in descending order.

Optional settings to specify several sorting criteria.
Figure 3: Optional edit-function

After you have checked Mark as Label Template, these 3 options are added in the MS Word ribbon.

The 3 new options added to the MS Word ribbon.
Figure 4: MS Word ribbon with additional options

3. Press Insert Label and the Label Options open. Here you can make decisions about your label dimensions.

Confirm with the OK button.

Select your label options.
Figure 5: Label Options

4. The selected label format has been inserted into your template.

Please note: If you cannot see any grid lines to limit the label cells, you can make them visible by navigating to the Layout tab and selecting View Gridlines. They will not be displayed in the result, but it can help manage your label content in the preparations for your template, as the label cells are arranged from left to right and from top to bottom.

The Layout Setting in the MS Word ribbon.
Figure 6: MS Word ribbon – Layout Setting

Next, it is important to mark one cell as the label-cell. To do so, simply set the cursor in the first cell of the document and click on the Mark as Label Cell button.

Mark Label-cell.
Figure 7: Mark Label-cell

5. Once the cell is marked, select an entity, such as Account. Then insert fields into the label-cell by double clicking on them.

Insert fields into the label-cell.
Figure 8: Insert fields

6. Next, you need to define the remaining cells as label-cells as well. To do so, place your cursor in the first cell and click on the Duplicate Labels button.

This information message reminds you to check your cursor. Confirm it.

Select "Yes" on the information message.
Figure 9: DCP Information

7. You have now successfully created a Label Template.

A sample label template.
Figure 10: Successfully created Label Template

8. The next step is to save your template.

Save the template.
Figure 11: Save Template

How to merge a label template with various records at once

To merge a label template for various records, navigate to Accounts in your Dynamics 365 and mark the companies you want to merge. Press the Create Document button.

Mark the companies you want to merge.
Figure 12: Marked Accounts in your Dynamics 365

The DocumentsCorePack dialog opens. Select your Label Template and click Next.

Select your label template in the DCP dialog.
Figure 13: DCP Dialog

Choose the FileType and decide on your Label Start Position. If you want to send this document directly to the printer, select Print document. Then click on Create Labels.

Click on Create Labels.
Figure 14: Create Labels

Before you finish your Label Template, you can have a preview. If it looks correct, press the Finish button.

Option to preview your template.
Figure 15: Template Preview

The result should look like the below example.

Sample result of a merged label template for Option A.
Figure 16: Example for merged Label Template

 

Option B – Select one record and set relations

Please note: In general, all Microsoft Word formatting options are supported. However, the label template must be created in advance and saved as .docx. It is mandatory to set a regarding relationship when creating the template in advance.  

1.  To create your label template, first follow steps 1-4 of Option A. Next, switch to the ❶ Additional tab, click on the ❷ Add Relationship/Entity drop-down menu and click on ❸ All Contacts. This makes sure that the relation is set.

Make sure to set the relation.
Figure 17: Set relation

2. Now that the relation is set, you can choose the appropriate fields from the DocumentsCorePack Task Pane. Continue on with step 5 of Option A and create and save your label template.

3. Once you are finished, please navigate to the main form of your Account entity in your Dynamics 365 and mark all contacts that should be displayed on the label. Next, click on the Create Document button, select your label template and press Next.

Mark contacts in the Account entity.
Figure 18: Mark contacts in the Account entity

4. The DocumentsCorePack dialog opens. Select your label template.

Select your label template from the DCP dialog.
Figure 19: Select Label Template

5. Choose the FileType and decide on your Label Start Position. If you want to send this document directly to the printer, select Print document. Next, select Create Labels.

Create labels.
Figure 20: Choose FileType and LabelPosition

This warning may appear. If it does, click on Yes.

Select "Yes" on the DCP warning.
Figure 21: DCP Warning

6. The option to preview your document appears. If it looks correct, click Finish.

Option to preview the document.
Figure 22: Preview of the document

7. You now have your result.

Sample result with Option B.
Figure 23: Result with selected record and set relations

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
  • Simplify Contract Processes with Dynamics 365 + E-Signature 
  • How to update the metadata in the DocumentsCorePack Template Designer
  • Working with Product Properties in DocumentsCorePack
  • How to work with the Relationship Manager
  • Using virtual tables in DocumentsCorePack
  • DocumentsCorePack Template Designer Settings
Latest Articles
  • Generate large documents using the Multipart-feature of DocumentsCorePack 
  • Recap: DynamicsMinds Conference 2023
  • How to automate the E-signature process via Power Automate
  • Technical Description: The AutoMergeWorkingItem (AMWI) 
  • Dataverse Online OData v2.0 endpoint removal for custom “ExportToWord” Button
Popular Articles
  • DocumentsCorePack Template Designer – Getting Started
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • Step-by-Step: How to configure a One-Click-Action
  • mscrm-addons.com Application Access for Dynamics 365 (App Access) – DocumentsCorePack
  • DocumentsCorePack Online Service Configuration
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
  • “Blocked by Conditional access” error in Azure Active Directory
  • Online Services: Required Application Permissions
Categories
  • *News and General Infos* 52
  • Webinars 36
  • Template Designer(DCP 180
  • DocumentsCorePack(DCP 196
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 62
  • PowerSearch (PS 48
  • ActivityTools (AT 59
  • SmartBar (SB 53
  • GroupCalendar (GC 46
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.