Posted: 2 Nov 2018 15:04 EDT Last activity: 3 Nov 2018 19:56 EDT
different header on different pages of forms generated using HTMLtoPDF - pega 7.2
We have a requirement to have different header on the 1st page of the form and a different header on the subsequent pages of the forms. The form is dynamic and depending on the data, it can run into multiple pages as well. I want to know if there is a way to achieve it.
I tried researching pd4ml which offers a viable solution. However I think pd4ml tags are not supported since I could not find the org.zefer.pd4ml.taglib.PD4InlineHeaderTag class in Pega. Here is what I was trying to do
We do have headers and footers on our forms even with page numbers. The challenge we are facing is to have different header for 1st Page and different for subsequent pages. The param.pyPDFHeaderHTMLTemplate is set only once and it appears as header on all pages. We need to find a way to set the value of header based on page numbers.Also we intend to leverage the OOTB HtmltoPDF activity.