Export Query Results to CSV

I would like to run a query on my page which has an “Export” button. I would like this button to download a .csv of the query that I have just run. Has anyone out there had success doing something similar?

I am guessing I will need to post a message to an HTML element and then run the export from the HTML element. ( I don’t really know how to do any of this, but I cant find any native wix support on exporting data from a query in an outlined format)

Firstly, you can use Messaging to post and get information from a HTML component. Note that you can export the information using the data API as explained here .

Good luck!

Thank you for taking the time to help!

Hey @Tal how can you export it to a CSV File?