smartclient_v90p_2013-12-19
chrome 30
I'm trying to export the cubegrid shown in cubegrid.jpg using the following code. When I click on the button, I get a file button at the bottom of the page. When I open the file, I get a spreadsheet that only shows the headers for the column dimensions (cubegrid.jpg). Looking at the operation using chrome tools, the net traffic (netraffic.txt) shows all the cubegrid info packaged as a form. In the console, it gives me the warning:
Resource interpreted as Document but transferred with MIME type application/msexcel: "http://localhost:8091/DEMATIC/isomorphic/IDACall?isc_rpc=1&isc_v=v9.0p_2013-12-19&isc_tnum=10". ISC_Core.js?isc_version=SNAPSHOT_v9.1d_2013-10-08.js:1018
How can I get this to work?
Thanks
chrome 30
I'm trying to export the cubegrid shown in cubegrid.jpg using the following code. When I click on the button, I get a file button at the bottom of the page. When I open the file, I get a spreadsheet that only shows the headers for the column dimensions (cubegrid.jpg). Looking at the operation using chrome tools, the net traffic (netraffic.txt) shows all the cubegrid info packaged as a form. In the console, it gives me the warning:
Resource interpreted as Document but transferred with MIME type application/msexcel: "http://localhost:8091/DEMATIC/isomorphic/IDACall?isc_rpc=1&isc_v=v9.0p_2013-12-19&isc_tnum=10". ISC_Core.js?isc_version=SNAPSHOT_v9.1d_2013-10-08.js:1018
How can I get this to work?
Thanks
Code:
isc.DefaultButton.create({
ID : "mExcelButton",
title:"${exportExcel}",
prompt:"${exportExcel}",
click:function () {
report.exportClientData({ exportAs: "xls",
exportToClient: true,
exportDisplay: "download",
exportFilename: "export.xls"
});
}
});