- Blog


This blog is deprecated since July 2020.The articles below are no longer maintained and might contain outdated information. 
You can find the most acutal and relevenat information in our Knowledge Base at Blog


Hello and welcome to our blog! What can we do for you? Are you looking for further technical information or step-by-step instructions to our products? Or would you like to read the latest news on mscrm-addons? Please feel free to browse our blog for detailed information and to share our posts!

The “Insert Remove Empty Lines”-button in Open Office XML template (.docx)

This article describes how to use the “Insert Remove Empty Lines”-function within the “Insert”-button in Open Office XML template (.docx). This feature allows you to insert dynamically “Remove Empty Lines” into your document. “Remove Empty Lines”-fields are a simple way to dynamically structure your document after a merge process. For example if you want to delete unnecessary lines between contacts and opportunities, just insert a “Remove Emtpy Lines”-field. This is very useful, if you e.g. insert sub documents or HTML-content.

Requirements: Available for v5.97 and higher 


Figure 1: Template before inserting remove empty lines

Figure 2: Template after inserting remove empty lines

Click here to read more about the functionalities of the “Insert”-button. 

HOW TO: “Insert Remove Empty Lines”, step-by-step description       

1) Step: Open DCP-Template
Open your template or create a new one. Click on the “Insert MailMerge Fields” to get to the DocumentsCorePack Task Pane. See screenshot below:

Figure 3: DocumentsCorePack Task Pane

2 Step: Chose from several Insert options

Now click on the arrow besides the insert button. This action will open the window you see in the screenshots below. In our case we chose “Insert Remove Empty Lines”.

Figure 4: [Insert]-button drop down menu 

Figure 5: Select Insert Static Item

Figure 6: Select Remove Empty Lines 

3 Step: Now “Insert Remove Empty Lines” into your document.


Figure 7: Insert Remove Empty lines (before the merge)

Figure 8: Insert Remove Empty lines (after the merge)

As a result every empty line is deleted and the document is structured in a proper way. See next screenshot:

Figure 9: The result

Visit our product page for detailed information. 

That’s it! We appreciate your feedback! Please share your thoughts by sending an email to

Comments are closed.