Insert MailMerge Fields into a new document

I would like to create a document that contains several MailMerge fields using aspose.Words for java.
I didn’t find anything in the api documentation. Is there an easy way to do this?
The mailMerge fields would be generated (so this won’t be static ones)?


Thanks for your request. You can use DocumentBuilder.insertField method to insert mergefields into the document:
Hope this helps. Please let me know if you need more assistance, I will be glad to help you.
Best regards.