Download a Table based on a collection to CSV/ Excel/ PDF

Hi, I was looking into the above and found the following https://www.wix.com/velo/forum/tips-tutorials-examples/how-to-download-the-contents-of-a-data-collection-in-a-csv-file
It doesn’t appear to work anymore using an HTML embed due to permissions from what i can work out from searching.
If this is the case, does anyone know a work around? The only other option i see is Custome Element but I am afraid i dont understand them completely or is their an easier way of doing it now?

Already have seen this one?
https://www.wix.com/velo/forum/tips-tutorials-examples/export-data-collection-to-xls-excel-file-using-code

Thank you for the reply, I think it has the same issue as it uses a HTML area on page. Im building on a fee plan currently.