I am trying to save a report when clicking a button.
In the action event for that button I have the following code:
report = event.source.parent.getComponent(‘Report Viewer’)
report.saveAsPDF(“c:\TestReport.pdf”)
The problem is that a “Save dialog” box pops up.
Is it possible to save the PDF without seeing the dialog?
Thanks