Hi Alfredo,
Thank you for contacting Syncfusion support.
Regarding I'd like to know if it is possible to have, among the information contained in the Merge fields, one (or several) that includes a table (datatable).
My intention is to use MailMerge so that a document can have multiple fields. Some will have data (strings) and some may have tables.
From the details, we have found that your requirement is to perform mail merge using string values and data table.
If you wish to use string array as data source, we suggest you to refer the below UG documentation to achieve your requirement
Regarding Also, is it possible to know the position of a certain merge field within the document? The idea is to be able, at any time before performing the Merge, to detect it and, if necessary, replace it (by a table, for example).
1. Loads the template Word document
2. Create the table to replace with field
3. Give the merge field which you want to replace
4. Iterate the elements in the document
5. Replace the merge field with table
6. Saves the Word document
7.
Please refer the below links to know more about how to work with mail merge using DocIO
Please let us know if you have any other questions.
Regards,
Suriya M.