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

Word mailmerge with HTML fields?

Hello

I'm using DocIO MailMerge feature to generate Word (docx) documents, which works fine.
However, some of the merge fields sometimes contains HTML instead of simple text .
This is very simple HTML, mostly short text and formulas with subscripts and superscripts.
Is it possible to somehow insert and correctly convert HTML into a merge field?


Thanks, Tom

3 Replies

AV Abirami Varadharajan Syncfusion Team April 9, 2019 11:43 AM UTC

Hi Tomislav, 

We have prepared a sample application to insert HTML text in the merge field using MergeFieldEventHandler in DocIO. Please find the sample from the below link and let us know if it helps you.
http://www.syncfusion.com/downloads/support/forum/143863/ze/DocIOApplication-1934306559 

If you are facing any problems in your HTML text, then kindly share us the input documents and the expected output. Thereby, we will check at our end and share you the appropriate solution at the earliest. 
                
Regards, 
Abirami 



TT Tomislav Tustonic April 9, 2019 12:11 PM UTC

This works fine, great!

Thanks,
Tom


AV Abirami Varadharajan Syncfusion Team April 10, 2019 04:02 AM UTC

Hi Tomislav, 

Thank you for updating us. 

Please let us know if you need further assistance. 

Regards, 
Abirami 


Loader.
Live Chat Icon For mobile
Up arrow icon