Skip to end of metadata
Go to start of metadata

The Reporting Module 7.8+ provides convenient scripting functions in system.reporting that enable report generation from scripting.

 

system.report.executeReport(path, project, [parameters], fileType) 

Will immediately execute a report on use and return a byte[] array of the results.

See executeReport() in the appendix.

 

system.report.executeAndDistribute(path, project, [parameters], action, [actionSettings])

Will generate a report and distribute it by the configured Report Schedule Actions.

See executeAndDistribute() in the appendix.