Back to forum

Get data from ExportTo function without open “Save As” window

Resolved

How get the html content from “exportTo” function without open the “Save As” window? Something like the code below:

this.webDataRocksPivot.webDataRocks.exportTo( "html",
{
header:"A header",
footer: "A footer",
filename: "A file name",
destinationType: "file",
},
function (fileData) {
//I need thisdata without open the "SaveAs" window
console.log(fileData.data);
});

1 answer

WebDataRocks Team WebDataRocks January 9, 2019

Hi Gleyton!

“Save As” is strongly required due to web browser’s security policy. There is no way to avoid it.

Thanks

Move up