Ask Search:
Nathan SpiwakNathan Spiwak 

CPQ description adding line break in output document

I have the Description (renamed Comments) field as a column in my output document, but it sometimes adds a line break above the text which makes it look weird. Any idea why it's doing this and how to stop it? Thanks! 
User-added image
Best Answer chosen by Nathan Spiwak
Sven MoensSven Moens
Hi Nathan,
We ran into a similar issue with one of our fields. In our case, the text field was a rich text field. When looking at the field content using the developer console, the text has paragrap tags around it. Like this:

<p>Commment</p>

In our situation it was field on a separate line of the table. We were able to resolve / workaround the issue by setting a negative value for the "Top Margin".

Sven

All Answers

Jake BrushaferJake Brushafer
what are you using for you doc generation? 
Nathan SpiwakNathan Spiwak
CPQ Quote Templates. That's from the Preview Document screen. 
Sven MoensSven Moens
Hi Nathan,
We ran into a similar issue with one of our fields. In our case, the text field was a rich text field. When looking at the field content using the developer console, the text has paragrap tags around it. Like this:

<p>Commment</p>

In our situation it was field on a separate line of the table. We were able to resolve / workaround the issue by setting a negative value for the "Top Margin".

Sven
This was selected as the best answer
Nathan SpiwakNathan Spiwak
Sven, great idea! I set the Top Margin to "-8" and that seemed to work. Thanks!