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.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.