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.
Reports folder:public HttpResponseMessage Get(string id, string reportName)
{
// Check a report file in the 'Reports' folder
var reportFilePath = Path.Combine(HttpRuntime.AppDomainAppPath, "Reports", reportName + ".mrt");
if (!File.Exists(reportFilePath))
reportFilePath = Path.Combine(HttpRuntime.AppDomainAppPath, "Reports", reportName + ".mdc");
if (!File.Exists(reportFilePath))
return GetHttpResponseMessage("The report file does not exist!");
...
...
// Load and render the report template
var report = new StiReport();
if (reportFilePath.EndsWith(".mrt"))
{
report.Load(reportFilePath);
report.Render(false);
}
// Load the rendered report document
else
report.LoadDocument(reportFilePath);
...
ExportDocument() method to export document to necessary format:
...
MemoryStream stream;
HttpResponseMessage result;
switch (id)
{
// Export to PDF
case "pdf":
var pdfSettings = new StiPdfExportSettings();
// settings, if required
stream = new MemoryStream();
report.ExportDocument(StiExportFormat.Pdf, stream, pdfSettings);
result = GetHttpResponseMessage(stream.ToArray(), "application/pdf");
stream.Close();
return result;
// Export to Excel 2007+
case "excel":
var excelSettings = new StiExcel2007ExportSettings();
// settings, if required
stream = new MemoryStream();
report.ExportDocument(StiExportFormat.Excel2007, stream, excelSettings);
result = GetHttpResponseMessage(stream.ToArray(), "application/vnd.ms-excel");
stream.Close();
return result;
// Export to HTML
case "html":
var htmlSettings = new StiHtmlExportSettings();
// settings, if required
stream = new MemoryStream();
report.ExportDocument(StiExportFormat.Html, stream, htmlSettings);
result = GetHttpResponseMessage(stream.ToArray(), "text/html");
stream.Close();
return result;
default:
return GetHttpResponseMessage($"The export format [{id}] is not supported!");
}
}
sti_CartProducts, sti_Consent, sti_Currency, sti_Localization, sti_RememberMe, sti_SessionKey, sti_UserKey, sti_WorkspaceKey
Bis zu 12 Monate
_GRECAPTCHA, rc::*
Bis zu 6 Monate
stimulsoft.clientIP, stimulsoft.countryCode, stimulsoft.countryName
Bis zum Schließen des Browsers
ZD-*
Ohne Ablauf
yt-player-*, ytidb::*, YtIdbMeta
Ohne Ablauf
_ga, _ga_56Z9RJS5EL
Bis zu 2 Jahre
_gcl_au, _gcl_ls
Bis zu 90 Tage
__adroll, __adroll_fpc, __adroll_shared, __ar_v4
Bis zu 13 Monate