Cloud
Cloud-Dienstleistung für schnelle und effektive Analyse und Visualisierung von Daten für Ihr Business ohne eigene Applikationen zu erstellen oder zu programmieren.
onBeginProcessData.var report = Stimulsoft.Report.StiReport.createNewDashboard();
report.onBeginProcessData = function (args) {
if (args.database === "JSON" && args.command === "GetData" &&
args.pathData && args.pathData.endsWith("/ProtectedDemo.json")) {
args.headers.push({ key: "X-Auth-Token", value: "*YOUR TOKEN*" });
}
};
report.loadFile("DBSsimp.mrt");
report.exportDocumentAsync(function (pdfData) {
require('fs').writeFileSync('./Dashboard.pdf', Buffer.from(pdfData));
}, Stimulsoft.Report.StiExportFormat.Pdf);onBeginProcessData — fires before the data request; add args.headers to authenticate.exportDocumentAsync.