While I use ProcessUtil.startJavaProcess(Env.getCtx(), processInfo,Trx.get(Trx.createTrxName(this.getClass().getName()), true)) to export xls report. Because it use ReportStarter.java and in this class miss to set Configuration, it fail to export excels.
Environment
None
Attachments
1
14 Jun 2017, 12:54 AM
Activity
Show:
Carlos Ruiz November 23, 2017 at 1:55 PM
Hi @黄萧敏, is this reproducible with latest code in 5.1?
黄萧敏 June 14, 2017 at 12:57 AM
While I add the code: export.setConfiguration(config); it runs OK.
While I use ProcessUtil.startJavaProcess(Env.getCtx(), processInfo,Trx.get(Trx.createTrxName(this.getClass().getName()), true)) to export xls report. Because it use ReportStarter.java and in this class miss to set Configuration, it fail to export excels.