If you're looking to create a standard business document, you'll likely want to define a header, footer, and body area in your template.
When you first create a new template, then you only have one container in the page element. All of the design elements inside the page element are all only executed once, but if you want to define a header and/or a footer, that is to be included on all output pages, then you need to add a header and a footer section to the page.
You can accomplish this by right-clicking on the page element and selecting the header and/or footer options as shown below:
Inside the header and the footer you can insert the contents, that should be repeated for all the output pages. The header and footer does however not need to be fixed. You can e.g. use conditions via either the if element or the select element to define one header/footer for the first page of a document and another header/footer for the rest of the document.
You can also consider to use components to reuse the header and/or footer for multiple document types (invoices, credit notes, order confirmations etc.).
In the body area you can insert a repeat element to iterate across all the detail lines of the input file and generate a page overflow, when there is not enough room for more detail lines on the current page.
Here is a video that demonstrates how to use a header and footer:
This section includes some template examples: The options for handling detail lines. Set a header, footer and body area for a normal business document. Large header on page 1 only. Make room for total on last page. Labels filled out from top to ...
If you're working with a standard business document, you're likely using the header and footer in your template. A simple example is provided in the section, Template: Header, footer and body area. However, you might have a specific requirement for ...
If you want to keep the same footer for all pages of a merge, then you should normally insert them in a footer element of the page element. It is highly recommended to consider to use a template component for the header and/or footer, if the same ...
The body section of a page If you add a header or footer element to a page, a body element is automatically included as well. The body elements contains the elements, that should only be executed/inserted once. This section normally includes the ...
When designing a business document, such as an invoice, you may want a large header on the first page and a much smaller header on the following pages. In the section below, you can learn how to create a flexible header to achieve this. First, let's ...