Previousrepeating headers working exampleNextdynamic customization for page specific content in s docs
Last updated
Was this helpful?
Instructions on how to display different headers on each page of PDF documents
InstructionsEnter the headers that you want for the main template in the “header” and "header on remaining pages" section. Ensure that “Use first page header for all pages” is unchecked.
Create another PDF template that can be named anything but for this example it will be called pdfheader (this should be a PDF template, not a component).
Keep the body section of the pdfheader template blank but add what you want to show for the header on the following pages of the main template in pdfheader's "header on remaining pages" section.
If you want this to be blank you can add this HTML into that section's source code:
You can call the new header when needed at the start of its corresponding page in the main template like this:
This should overwrite the current header and replace it with the new one.
You will need to create a different PDF template for each header that needs to be called.
Related articlesLast updated
Was this helpful?
Was this helpful?

