In Jmix 2.x, I was able to specify the report output type programmatically and it would override the template configuration, allowing me to output the same template as Excel or PDF:
fluentUiReportRunner.addParam("reportData", reportData)
.withOutputType(reportOutputType)
.withParametersDialogShowMode(ParametersDialogShowMode.NO)
.runAndShow();
In Jmix 3.0, it appears that I’m forced to create distinct templates, one for the Excel output and another for PDF. Is this a bug or was there a design change? I didn’t find this mentioned in the documentation.
Thanks
Doug