Dear Aspose.Words Team,
we are currently evaluating Aspose.Words for Java for reporting purposes. We tried the Mail Merge feature.
It is a great feature. We found out, that Aspose also provides a reporting engine. We are currently assessing the capabilities of the engine. After a first test, it seems that the engine is not mature enough for production purpose. I designed a simple template document. In the document, I had the following tag:
<<[ds.getCompany().getServices().sum(service => service.getPrice())]>>
I got the following error:
Exception in thread “main” java.lang.IllegalStateException: An error has been encountered at the end of expression ‘ds.getCompany().getServices().sum(service => service.getPrice())]>’. Can not resolve method ‘sum’ on type ‘interface java.util.List’.
Wenn I removed the above tag from the template, I could generate a PDF file. But, in the generated file, some tags were not processed by the engine. What are your recommendations concerning the engine ?
I might also be that I still need to learn how to use the API.
Juniorfiles.zip (92.0 KB)