Report output file format selection

Hi
My users want to select output format at run-time. Is there any option to select the output file format programmatically overriding the output file format selected in the YARG report?

Jmix has a bin for programmatically running reports. There you can specify the output format.

@Autowired
private ReportRunner reportRunner;
....

reportRunner.byReportCode("repCode")
            .withOutputType(ReportOutputType.DOC)
            .run();
1 Like