Skip to main content
February 13, 2024
Question

How to insert data(Having multiple entries) into next page while using DOCX from dynamic template

  • February 13, 2024
  • 1 reply
  • 0 views

I am using DOCX from dynamic template and able to generate document having multiple pages (generated dynamically and depends on the size of passing array.)

For each entry i have a header and because of the data length, Header is not coming on top of each page for many entries.

How can i make sure that header will always come on Top and next header and related data will go to next page always with this process.

Is there anything we can configure in Dynamic template?

1 reply

mathieud0001
February 14, 2024

I think your best bet might be to generate multiple individual pages and then merge them together at the end.