• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

Suppress Section Write with BI Publisher

natalieroberge

Active Member
Hello Board

Im looking for strategies for handling Suppress Section Write issue I am facing in my BI Publisher output. There are certain cases where I do not want to print information on my document so I have used Suppress Section Write in my UBE. The information is not printing however i still have a space on the document where the information would have been. Does anyone have some suggestions on how to hide the information PLUS avoiding the space on the document also.

Much appreciated

Natalie
 

cbudoris

Active Member
That's probably happening because the XML sequence still saw the section break, so it attempted to write that section, which might have contained a few spaces.

I've done a few things to contain unwanted spacing output. The simplest is to wrap that entire section (at the very top, where it starts) in an IF statement, with the condition being a field that is normally always there when you want it to print, but absent when you don't. This is very similar to using conditional sections, where you're using conditions to call a sub-section.
 
Top