Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Blank lines seen in WordMerge document when properties are null



Blank lines are seen in a WordMerge document when properties are null.

Error Messages

Not applicable.

Steps to Reproduce

Use WordMerge and have some properties with no value

Root Cause

The carriage return line feeds are already part of the template. WordMerge has no capability to modify the Word template outside of the field codes. It will simply replace the field codes with the values returned.

One can turn on the hidden markup inspector in Word and understand why.

Another use case, where it is clear WordMerge (Pega) would have no right to modify the document, is if there are "captions" for each field. It would not make sense for WordMerge to assume it should remove the "Prop 1" caption just because there is no value returned. The same reasoning would apply for the line breaks.




This is working as designed. 


Suggest Edit

Published May 4, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us