Generate a report and save on repository before opening it

Hello, Iā€™m doing some experience with Reporting Addon.
Is there the possibility to generate a report (docx, xlsx or pdf) and automatically save it in a file repository, before opening it?
I did some research, but I did not find any example.
Thank you

I have done this export to pdf using jasper :slight_smile:

https://www.cuba-platform.com/discuss/t/working-jasper-report-with-date-parameter-exported-to-pdf/4750

https://www.cuba-platform.com/discuss/t/working-jasper-reporting-on-cuba/4582

Hi Michele,

You can find an example of the report with saving in the topic:
https://www.cuba-platform.com/discuss/t/class-used-for-running-a-scheduled-report/801/2

Thanks,
Andrey

Also you can try to print report using ReportGuiManager and store ReportOutputDocument as FileDescriptor.

See:
https://www.cuba-platform.com/discuss/t/report-printing-or-viewing-option/1446/2