Hello everyone. I am Muhammadsodiq. I have a question. I created a docx template, and when I send data to the template, then if the data is null, new line will be added instead of data. How can I remove newly added empty line in the docx template
Hi,
Instead of printing multiple fields in the table cell you may try to print a single field. That field will contain only non-null values and new line characters (\n
) between them. You’ll have to prepare such field in advance, for example, in the Groovy dataset.
1 Like
Thanks a lot !!