Blazor Server app,DocIO mailMerge Images

Dear Support,

Attached is a Blazor Server project which uses mailmerge to replace some text values on a word template.


Is it possible to add,on the same template, with mailMerge multiple images which are located under wwwroot\Data\TempImages.

Can you please provide a working sample?


thanks


Attachment: BlazorApp97345037withimages_2e1a1e76.zip

1 Reply

LB Lokesh Baskar Syncfusion Team October 19, 2021 01:06 PM UTC

Hi Danil,

Thank you for contacting Syncfusion support.

From the given details, we have found that your requirement is to add the image dynamically in the Word document using mail merge event. Please refer below to know how to work with mail merge event in the word document using DocIO.
Blazor Samples: https://github.com/syncfusion/blazor-samples/blob/master/Pages/FileFormats/DocIO/MailMergeEventService.cs

Blazor Demo: https://blazor.syncfusion.com/demos/docio/mail-merge-event?theme=bootstrap5

UG documentation: https://help.syncfusion.com/file-formats/docio/mail-merge/mail-merge-events#mergefield-event 

If we misunderstood any of your requirement means, could you please share us the complete details about your end requirement. Also, kindly share us the input and the expected output document/screenshot. Thereby, we will check the feasibilities to meet your requirement and will provide you the appropriate solution.

Please let us know if you have another query.

Regards, 
Lokesh B 


Loader.
Up arrow icon