Generating BIG CSV from a FC document from java SDK
I have a simple full client document that generates 91Mb of CSV data. My platform is BOXI R2.
I want the same result using a java application.
The code I have developed is mainly like the following:
ReportEngine engine = retrieveReportEngine();
DocumentInstance doc = engine.openDocument(report.getID());
DataProvider dp = doc.getDataProviders().getItem(0);
CSVView docCSVView = dp.getResultAsCSV(-1);
FileWriter objFW = new FileWriter(fileName);
When this code executes for simple documents it works fine, but with this big report the result is a 0 byte long CSV !!!
Does someone know how to solve this issue ? or does someone have a snippet that works for big csv exports?
Thanks in advance.