• 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!

BIP page header / footer containing XML data

ccornagg

Well Known Member
Hi BIP experts,

I would like to understand what's the correct / suggested approach to implement page header / footer with BI Publisher embedded (E1 9.1 TR 9.1.4.4).

I'm talking about documents like invoices / purchase orders or wherever you want to print a page header to be repeated together with XML data like "purchase order number", "supplier number", etc.

In the RTF template I'm for sure implementing a "for-each" loop meant to print several documents, each of them with one or multiple pages. As a consequence, page header and footer should be included in the same "for-each" loop.

Any suggestion is welcome as well as RTF / XML examples you would like to share with the community.

Thanks,

Carlo
 

ccornagg

Well Known Member
Use Section breaks for your main group. Put your header and footer content in word header and footer area.
Hello Abhishek,

with "Section breaks" you mean I have to change my UBE via RDA ?

The goal was to have page header and footer using existing XML data because I cannot know in advance (by using JDEdwards development tool / RDA) how many pages I'm gonna print on real paper / final pdf.

Kind regards,

Carlo
 

ccornagg

Well Known Member
Hello Abhishek,

with "Section breaks" you mean I have to change my UBE via RDA ?

The goal was to have page header and footer using existing XML data because I cannot know in advance (by using JDEdwards development tool / RDA) how many pages I'm gonna print on real paper / final pdf.

Kind regards,

Carlo
Thank you Abhishek,

I think now I get your point: I was using a <?for-each:MyTag?> statement without the @section

Now I'm using <?for-each@section:MyTag?> and it seems really better reacting.

Thank you very much for your help.

Kind regards,

Carlo
 

johndanter

Legendary Poster
If I understand you....you want XML variables in your header and footer?

You use section templates

In the header have this

<?call:header?>


Then in the body define the header start and end

Anything you place in the middle of those 2 markers will now appear in your pages header section
 
Top