We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Nested Mail merge with Collection

Hi,

Is is possible to do a nested mail merge using collections. In the sample code its selecting direct for the database tables, can we implement a dataset based on a collection for nested mail merge?

Thanks,

Eamonn

Hi

Thanks for your request. Sure, you can use a collection as a data source for mail merge with regions and nested mail merge. To achieve this, I think, you should use IMailMergeDatasource. Please see the following link for more information:

http://www.aspose.com/documentation/java-components/aspose.words-for-java/com/aspose/words/imailmergedatasource.html

Hope this helps.

Best regards,