• Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/DocumentsCorePack(DCP)/How to setup editable sections in your template (Dynamics 365)

How to setup editable sections in your template (Dynamics 365)

743 views 0 Updated on January 17, 2023

Details about the general functionality can be found here.

This feature is available for Dynamics 365, DocumentsCorePack TemplateDesigner 10.12; Server version 2020.50.

Before you can setup editable sections your template you must choose an existing DocumentsCorePack, or create a new one. This feature can only be used with DocumentsCorePack templates.

Please note: The editable sections functionality is not available in the multipart case, only when creating a single document!

1. Structure your template into sections

To make it easier to see the sections enable the “Hide/Show” button (❷) in Word. This option can be found in the Paragraph Area if you navigate to “Home” (❶) in your Word ribbon.

Figure 1: “Hide/Show” button in Word

You can split your document into sections by navigating to “Layout” -> “Breaks” (❶) and select “Continuouse” (❷). This will insert a hidden element (❸) that split your template into to two sections.

Figure 2: Continuouse section break in your template

PLEASE NOTE: Ensure that you know how many sections you will need for your document otherwise you might have to recofingure it later which requires you to perform the following steps again as the following configration does no change if you added additional sections later.

2. Configure the template accordingly

Navigate to “www.mscrm-addons.com” (❶) in Word. Hit “Insert MailMerge Fields” (❷) and open the “Advanced Template Settings” (❸). In the settings dialog select “Section Configuration” (❹) which will display the Export Section Configuration area (❺).

Figure 3: Export Section Configruation within Word

In the section configuration you manage all your existing sections you can “Add“, “Delete” ord “Modify“. You are not limited to one section, you can setup several to show the same behaviour.

You can add a new entity by using “Add” (❶). Provide a unique name for your section (❷) and also select the section number of the used section. (❸)

Figure 4: The Add Section dialog within the section configuration

PLEASE NOTE: Be especially careful when using this on several templates for the same entity as the name is identifier for your section. If you use the same name across several templates you might see already existing sections content when you generate a document.

After you have setup your section you will see it in a listed of confiugred sections (❶). After you hit “OK” (❷) your changes will take effect in the template and the configuration is completed.

Figure 5: The Template settings dialog with an overview of configured sections

You will see a placeholder that indicates that the section is an export section. (❶) And additional also a new relationship will be added automatically as this is a technical requirement for this feature (❷) (why there als a relationship is created is described in the technical details at the en of this post)

Figure 6: The placeholder in a template and the added relationship

PLEASE NOTE: The placeholder should be the only element within a line for this functionality to work properly.

3. Save your template

Before you can use or test your template you have to save it.
Either you save your template locally with the standard Save or Save as
the functionality of Word or you use the Save template-option of the
DocumentsCorePack client in order to publish the template to Dynamics 365.

4. Test your template [optional]

As you have made changes to your template you might want to test them quickly. A step by step description of how to test your template can be found here.

PLEASE NOTE: For the initial run you also can use Dynamics fields in your template, but those will not be filled again on a re-creation of the document.

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

TECHNICAL DETAILS and other Considerations:

  • If you are using this feature for several templates on a specific entity that you have to take care, that the sections names should be unique across different templates!
  • A configured section can contain already existing text and also fields. But any used fields will only be filled the first time.
  • Section are stored as seprate documents attached as notes to the base entity.

  • The insertion of the sections is based on the insert as document functionality. This is the reason why you see a document placeholder and also an additional relationship in the template.
The “Insert as Document”-option in DocumentsCorePack Templates

Was this helpful?

Yes  No
Related Articles
  • How to share the Connection of the DocumentsCorePack Connector
  • 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
Leave A Comment Cancel reply

You must be logged in to post a comment.

Latest Articles
  • How to share the Connection of the DocumentsCorePack Connector
  • 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
Popular Articles
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • DocumentsCorePack Template Designer – Getting Started
  • mscrm-addons.com Application Access for Dynamics 365 (App Access) – DocumentsCorePack
  • DocumentsCorePack Online Service Configuration
  • Step-by-Step: How to configure a One-Click-Action
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
  • Online Services: Required Application Permissions
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
Categories
  • *News and General Infos* 51
  • Webinars 35
  • Template Designer(DCP 179
  • DocumentsCorePack(DCP 192
  • 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.