Oracle Analytics Publisher

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Repeating header & footer on BI Publisher template within a for loop

Received Response
373
Views
5
Comments
Vivekananda Ongolu
Vivekananda Ongolu Rank 1 - Community Starter

Summary

Repeating header & footer on BI Publisher template within a for loop

Content

Hello All,

In the AP Invoice print report, i need to print multiple invoices at once and hence has the entire template with in a for loop. Basically some thing line this.

for-every-voucher

some header info

  for-every-voucher-line

    voucher line info

  end-for-every-voucher-line

some footer info

end-for-every-voucher

My need is to repeat the header and footer information on every single page of the report, even for the same invoice which runs across pages.

Since the header and footer info are with in a for loop, an error is being thrown if i include them in the header and footer sections of the word document.

I have also tried using the <?start:body?> <?end body?> tags in the below manner but they were not giving any positive result.

for-every-voucher

some header info

<?start:body?>

  for-every-voucher-line

    voucher line info

  end-for-every-voucher-line

<?end body?>

some footer info

end-for-every-voucher

Using the table properties to repeat the table header has worked for the header info but still i am unable to repeat the footer info.

Can any one please suggest a way to achieve this requirement. Thanks in advance.

Regards,

Vivek

Answers