How do I remove blank spaces in a generated document?

Applies to JungleDocs for SharePoint 2010-2019.
For JungleDocs for Office 365 tutorials, click here.

It is easy to remove blank spaces in an automatically generated document using JungleDocs. In this tutorial, you will learn how to do this.

The problem

If a content control has no data to import (i.e., if the related SharePoint column is empty), it generates an empty space in a document:

In such cases, you will want to avoid blank spaces in your generated document. You will do this by modifying your document template. Let's get started

The solution

1. Select the whole row.

2. Insert a Rich Text content control and open its properties.

3. In the Tag field, use both the IfEmpty and DeleteControl functions. For example: IfEmpty(JDCustomer:WorkZip; DeleteControl())

In the generated document this row will be deleted automatically if the Zip code field for a specific customer is empty.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us