function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How to add header and footer in multiple pages on generated pdf???



I am generating a pdf and capturing content dynamically from more than one custom object and sending that pdf as a mail.I added Header and footer on the first page.If the length of the content exceeds the page,the footer on the page is going to the next page,and the header is also not appearing on it.Can u providing me a solution to solve this,,


Thanking u in Advance,

Vamsi Krishna


How did you include the header and footer? Are you using the @page attribute?