Skip to main content
Question

Possible to download a report as a csv (or xls) with a button push?

  • February 16, 2022
  • 0 replies
  • 629 views

Forum|alt.badge.img+20

I have a button that allows a user to open a report, and then if they want save as spreadsheet. Is there any way the button can download the report as a spreadsheet automatically? ie, skip the go the the report stage?

Essentially, I want my users to be able to download a template, but this template isnt static. It may change periodically based on data in the system, so I can't simply upload a template file.

Also, I want the user to get the template on demand, so I can't set it up as a subscription. Ideas?



------------------------------
Mike Tamoush
------------------------------

Forum|alt.badge.img+20
  • Author
  • Registered
  • February 16, 2022
A user messaged me and let me know you can add & "&opts=csv" to the end of your URL to download automatically as csv. Great tip!
​

------------------------------
Mike Tamoush
------------------------------

  • Registered
  • February 16, 2022
Have you tried adding &dlta=xs to the end of the URL for the report? That should automatically save it as a spreadsheet and for me it doesn't even load the table report at all when doing this. Just downloads the file.