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 IActionResult Get(string reportName, string format = "pdf")
{
// Check a report file in the 'Reports' folder
var reportFilePath = Path.Combine("Reports", reportName + ".mrt");
if (!System.IO.File.Exists(reportFilePath))
reportFilePath = Path.Combine("Reports", reportName + ".mdc");
if (!System.IO.File.Exists(reportFilePath))
return Content("The report file does not exist!");
...
...
// Load and render the report template
var report = new StiReport();
if (Path.GetExtension(reportFilePath) == "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;
byte[] buffer;
switch (format)
{
// Export to PDF
case "pdf":
var pdfSettings = new StiPdfExportSettings();
// settings, if required
stream = new MemoryStream();
report.ExportDocument(StiExportFormat.Pdf, stream, pdfSettings);
buffer = stream.ToArray();
stream.Close();
return File(buffer, "application/pdf");
// Export to Excel 2007+
case "excel":
var excelSettings = new StiExcel2007ExportSettings();
// settings, if required
stream = new MemoryStream();
report.ExportDocument(StiExportFormat.Excel2007, stream, excelSettings);
buffer = stream.ToArray();
stream.Close();
return File(buffer, "application/vnd.ms-excel");
// Export to HTML
case "html":
var htmlSettings = new StiHtmlExportSettings();
// settings, if required
stream = new MemoryStream();
report.ExportDocument(StiExportFormat.Html, stream, htmlSettings);
buffer = stream.ToArray();
stream.Close();
return File(buffer, "text/html");
default:
return Content($"The export format [{format}] 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