This feature extends the existing CreateActivitiesFor-property of DocumentsCorePack. This blog article covers the configuration, an example and the technical details of this feature.
The configuration options allow template editors to define
- Save Location
of activities based on a template independently. For further information on DocumentsCorePack Template Designer, please have a look at the documentation.
The configuration requires a proper configuration of the DocumentsCorePack Server and you need to understand the fundamental MS Dynamics 365 (CRM) capabilities.
To access the Advanced Settings, open an existing template or generate a new one. Then navigate to www.mscrm-addons.com ❶, click on the [Insert MailMerge Fields]-button ❷, open the Advanced Template Settings ❸ and click on CreateActivitiesFor ❹.
Please note: Per default, only the “Recipient”-tab is displayed. You have to check the “Enable Advanced Settings”-checkbox (highlighted in red), if you want all three tabs to be shown.
After enabling the Advanced Settings-checkbox, you can select the the Recipient, Regarding and the Save Location for your template ❶. The options, which can be selected for each area, are displayed in a tree view. You can insert the required relation by clicking on the nodes “Primary Contact (Contact)” and by double clicking on the correct option “Contact” in this case ❷ .
The configuration is set for an Account Template and has the following effects:
- The Recipient of the generated activity will be the primary contact of the parent account of the Account Template.
- The Regarding will be set to the Account directly.
- And the generated document will be saved to the configured location for the parent account of the Account Template.
The example below shows the outcome of the configuration for this Account Template in more in detail.
The account mscrm-addons.com Corp ❶ with the parent account ptm EDV-Systeme ❷ has a primary contact named Michael Dohr ❸.
After saving this template, you can continue to create a document, either directly from Word by using the [Select Data]-button or by using the [Print in Word]-button within CRM. Once done so, you get a merged document.
In case of further document processing, you can use the [CreateCRMActivity]-button and e.g. generate a letter activity ❶ and add the document to your SharePoint ❷.
This process saves our generated document in the folder of the account (ptm EDV-Systeme) and defines the regarding to the account(mscrm-addons.com Corp).
The recipient is the primary contact of the parent account of the account (Michael Dohr).