This article outlines how to use the “Insert as Document”-functionality within the [Insert Field]-button in Word templates. This feature allows you to insert a document, that is stored as a note in your Dynamics 365.
First, a static document has to be created. In the following example a document about terms and conditions gets inserted via the “Insert as a document”-function in Dynamics 365.
Step 1: Upload this document into your Dynamics 365 via the notes section.
In the note section, click on the paperclip to start uploading your file in your Dynamics 365. To finish click on the [Add note]-button
You can see your successful upload in the timeline.
Step 2: Now navigate to your DocumentsCorePack Template Designer and open the template you want to insert in the other document.
In this example I want to insert the terms and conditions in a quote:
Please Note: Resolve your relationship to your desired note section. For a brief introduction of how to create a relationship, click here.
Step 3: Open your DocumentsCorePack Template Designer and
❶ place the cursor, where you want to have your document inserted (like in this example “Terms and Conditions”).
❷ Select “Note”-field
❸ and press “Insert Note as Document”.
This window pops up. ❹ With a double click of “Note” you can see your pattern for this property. Press the [OK]-button.
In this new opened window decide how your field should be inserted and then press the [OK]-button again.
Figure 6: Decision on how to insert the related entity
You can see the successfully inserted pattern (highlighted in yellow).
Step 4: Use the [Save Template] option in order to publish it to Dynamics 365.
Test your template. If you need a brief introduction to test your template, please have a look here.
Enjoy your result:
Figure 8: Template with inserted Note “Terms and Conditions” as Document
That’s it! We appreciate your feedback! Please share your thoughts by sending an email to email@example.com.