This article outlines how to use the Insert Join Tables button in Open Office XML template (.docx). This functionality is very useful if you want to combine multiple tables with all fields merged into one.
Requirements: Available for v5.97 and higher, click on www.msrmc-addons.com for download.
Example:
Figure 1: Table before the merge
Figure 2: Table after the merge
Step-by-step description on how to “Insert Join Tables”
Step 1: Open DocumentsCorePack (DCP) Template
Open a DCP template or create a new one. Click on Insert MailMerge Fields to get to the DCP Task Pane.
Figure 3: DocumentsCorePack Task Pane
Step 2: Choose “Insert Join Tables” from the Insert options
Click on the arrow besides the insert button. This action will open the window you see in the screenshots below. In our case we choose Insert Join Tables.
Figure 4: Insert button drop down arrow
Figure 5: Select Insert Static Item
Figure 6: Select Join Tables
Step 3: Insert Join Tables
In our example we have a document with two tables from an additional entity and we want these fields grouped together in one table. Insert a Join Tables field between the tables.
Figure 7: The inserted Join Tables field highlighted in yellow.
Step 4: The Result
As a result, this template has one single table with all merged fields from above.
Figure 8: The result
Click here to read more about the functionalities of the “Insert” button.
That’s it! We appreciate your feedback! Please share your thoughts by sending an email to support@mscrm-addons.com.