Hi Winson,
Thank you for your interest in
Syncfusion products.
Could you please provide us the
template document you have used along with the sample project or code snippet
to reproduce issue at our end? Thereby we can analyze further on this case and
provide you the appropriate solution.
Please let us know if you have any
other questions.
Regards,
Sathish
Hi Winson,
Thank you for your update.
We are unable to reproduce any of
the issues mentioned by you. We have modified your sample to show you the same.
Please find the attached sample and refer that. Please modify the sample to
reproduce the issue at our end and update us.
Please let us know if you have any
questions.
Regards,
Sathish
Hi Winson,
Thank you for your update.
Please do find the below table to illustrate the behaviour of MailMerge
properties.
Property
Name |
Specification |
ClearFields |
If this property is set as false then we have
clear the unmerged field from the generated word document. Default value for
this property as true. |
RemoveEmptyParagraphs |
If this property is set as true then we could
remove the paragraph which contain mergefield with empty value. |
RemoveEmptyGroup |
If this property is set as true then we could
remove the group which contain merge fields with empty values. |
In the given sample you have set the ClearFields property value as false,
caused the unmerged fields are preserved in the generated word document. For
resolving this issue, please ignore to set the ClearFields as false. This is
not an issue and actual behaviour with MailMerge functionality of DocIO. For
your reference, we have modified the sample to meet your requirement. Please do
find the sample from the attachment. Try running the sample and let us know if
this helps you.
Please refer the below UG links for more details on Mail merge
functionality of DocIO:
http://help.syncfusion.com/UG/winrt/default.htm#!Documents/mailmerge.htm
http://help.syncfusion.com/UG/winrt/default.htm#!Documents/additionalmailmergef.htm
Please let us know if you have any questions.
Regards,
Sathish
Hi Winson,
Thank you for your
update.
The actual behavior of
"RemoveEmptyGroup" property is to
remove the empty paragraph generated between the BeginGroup and EndGroup. It
will not remove the empty tables or other text body items preserved in the
document. If you want remove the empty table, then you have to find out the index
of that table entity and remove that entity.
Please let us know if you have any other questions.
Regards,
Hi Winson,
Thank you for your update.
We are glad that our guidance
helped you well. Please let us know if you have any other concerns. We will be
happy to help you as always.
Regards,
Sathish