Exporting Database to CSV/XLSX Using Code

Hi all,

I’m trying to export database entries using some code.

I was able to use this successfully:
https://support.wix.com/en/article/corvid-tutorial-importing-and-exporting-collection-data-with-code

However, when I try to use this method to allow direct download with an iFrame html element and not just showing the results in a text box I have an issue:
https://www.youtube.com/watch?v=jIF_MYz8YKw

The problem is that the link is starting with: “data:application…” and not “https:”. It seems that wix is blocking this method even from within the html element,

Any suggestion for a workaround?

Hey! Maybe this article can be useful :wink:

Thanks Anna!
This one actually let you export to JSON and display it on your site but doesn’t resolve the download issue…