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.
StiMvcDesigner component to the view page. Also you need to pass the StiMvcDesignerOptions object to the constructor and set the all required actions:
@using Stimulsoft.Report.Mvc;
...
@Html.Stimulsoft().StiMvcDesigner(new StiMvcDesignerOptions()
{
Actions =
{
GetReport = "GetReport",
DesignerEvent = "DesignerEvent"
}
})
DesignerController code and add the resulting methods for the specified actions:
public ActionResult GetReport()
{
// Create the dashboard object
var report = StiReport.CreateNewDashboard();
// Load dashboard template
report.Load(Server.MapPath("~/Dashboards/DashboardChristmas.mrt"));
// Return template to the Designer
return StiMvcDesigner.GetReportResult(report);
}
public ActionResult DesignerEvent()
{
return StiMvcDesigner.DesignerEventResult();
}
MySum() that sums all the values in the list:
public static decimal MySum(object value)
{
if (!ListExt.IsList(value))
return Stimulsoft.Base.Helpers.StiValueHelper.TryToDecimal(value);
return Stimulsoft.Data.Functions.Funcs.SkipNulls(ListExt.ToList(value))
.TryCastToDecimal()
.Sum();
}
To add a function to the designer's dictionary, it is enough to call the special StiFunctions.AddFunction() method, this can be done in the static constructor of the controller. In the arguments of this method you should specify all the required parameters - category, function name, description, types of input and return parameters:
static DesignerController()
{
// How to add my function
StiFunctions.AddFunction("MyCategory", "MySum",
"description", typeof(DesignerController),
typeof(decimal), "Calculates a sum of the specified set of values.",
new[] { typeof(object) },
new[] { "values" },
new[] { "A set of values" }).UseFullPath = false;
}
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