We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Merge Template Overlows to new page

I have a mail merge setup.  It works most of the time, however we are finding that if the data that is being merged in forces the document (and merge fields) to overflow to a new page, the merge fields that are pushed to the new page do not merge.  Obviously the page break is separating the body section.  Is there a way to allow the merge to continue to happen once its forced to a new page?


2 Replies

SB Suriya Balamurugan Syncfusion Team November 3, 2022 05:23 PM UTC

The Essential DocIO library allows the merge to continue to happen even its forced to a new page.

For your reference, we have attached the sample application in which the merge fields that are pushed to the new page are merged properly and it can be downloaded from the below attachment.

We suspect that the reported problem (the merge fields that are pushed to the new page do not merge) might be due to the contents in the input template Word document which used at your end. So, could you please provide us the input Word document and modified sample of above from your end, which will be helpful to reproduce the exact issue at our end.

Based on the above details, we will proceed further to reproduce the same problem and will provide you appropriate solution at the earliest.

Note: If you have any confidential data in your Word document, please replace with some dummy data and provide us the same. We just need your document to recreate the problem you face.

Refer our UG documentation to know more about the mail merge functionality in DocIO,
https://help.syncfusion.com/file-formats/docio/mail-merge/mail-merge-for-group


Attachment: Executegroupmailmerge_59541b58.zip


AK Aaron Knipe November 10, 2022 06:55 PM UTC

Thank you for the app sample.  we will take a look and respond back with our sanitized document and data.


Loader.
Live Chat Icon For mobile
Up arrow icon