Is it still possible to export a report viewer to CSV?
My reports have multiple queries.
If not any other way to do it?
Thanks
below is something I found in the forum, from awhile ago.
We don’t expose a function to get the CSV bytes but it is possible to call that function: report = event.source.parent.getComponent('Report Viewer') csvBytes = report.getComponent(0).getViewport().getView().getDocument().getBytesCSV() system.file.writeFile("Path/to/test.csv", csvBytes)