On Node.js a dashboard can be rendered and exported to an Excel workbook without a browser.

Load and export to Excel.
var Stimulsoft = require('stimulsoft-dashboards-js');

var report = Stimulsoft.Report.StiReport.createNewDashboard();
report.loadFile("Dashboard.mrt");

report.exportDocumentAsync(function (excelData) {
    var buffer = Buffer.from(excelData);
    require('fs').writeFileSync('./Dashboard.xlsx', buffer);
}, Stimulsoft.Report.StiExportFormat.Excel2007);

How it works. The export format is just an enum value, so the same headless flow produces Excel, PDF and other formats.
In the screenshot below you can see the result of the sample code:

Exporting a Dashboard to Excel

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.