Dan14021
Dan14021

Reputation: 659

Using section breaks in a for-each loop in a BI Publisher rtf template

I am trying to include a section break in my BI Publisher RTF template so that I can set different print options for different parts of the document.

My template is working fine until I add the section break inside of my for-each loop. I can't figure out exactly what is happening but with the section break, I end up with extra, repeated pages in my output. I cannot find anything online about how to use section breaks in BI or if there are problems with their usage.

I am using the BI Publisher Word Add-on to develop the report.


Here are some samples to demonstrate my problem

Sample RTF

Sample XML

Upvotes: 0

Views: 5967

Answers (1)

Dan14021
Dan14021

Reputation: 659

I changed my for loop from for-each-group to for-each@section.

Then I removed the at the end of the loop. Now the section breaks seem to work as expected, and a section break is automatically added between each loop.

Upvotes: 0

Related Questions