Pages

Recently Viewed

Saturday, December 24, 2011

Different Header and Footer for First Page - XML Publisher Report

Requirement  was to report invoice details in xml publisher in PDF format. If there is multiple pages for any invoice, it should show different header details.
In rtf it is very easily achievable using MS word features.
  • 1)      Open the rtf file
  • 2)      Go Header & Footer section
  • 3)      Check the flag “Different First Page”
  • 4)      Write the Header/footer Details
  • 5)      Go to the second page (if rtf has only one page, put some line space to reach second page)
  • 6)      Create second header/footer details
  • 7)      Remove the extra line space created in step 5
  • 8)      Load the data source
  • 9)      Preview the output