we have a template with regions for same TableName/datasource. If we call executeWithRegions(IMailMergeDataSource) only the first region in the document is replaced. So we have call for each region in the template executeWithRegions().
It would be nice if that wouldnt be necessary. Possible solution could be a first() method in the IMailMergeDataSource interface which is called if a region start field is found.
What do you think about this?
Kind regards,
-------------------------------
Jens Boeckel
Abacus Research AG
Switzerland
Hi
Thank you for your suggestion. I logged it in our defect database. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.
Best regards,
Just a quick note, you can work around this issue for the time being if you wrap your DataSource class in a DataSourceRoot class. This will merge all duplicate regions in the document with your data.