I want to allow users to download the result of their product search as a csv file.
I created a blob and a blob URL as below:
let blob = new Blob ([ csv ],{ type : ‘text/csv’ });
let blobURL = URL . createObjectURL ( blob );
Then I want to add the blobURL to a custom html code of the text field:
$w ( ‘#downloadlink’ ). html = <a href= ${ blobURL } download><span>Download </span></a>
For some reasons this worked fine untill last week.
Anyone can help ?