Set up the dashboard viewer in .NET 6.0, load a template, and connect the component to the application.

Viewer setup. Configure the viewer, load the dashboard, assign it to the component, and process the requests or events raised by the UI.
public IActionResult InitViewer()
{
    var requestParams = StiAngularViewer.GetRequestParams(this);

    var options = new StiAngularViewerOptions();
    options.Actions.GetReport = "GetReport";
    options.Localization = StiAngularHelper.MapPath(this, "Localization/de.xml");

    return StiAngularViewer.ViewerDataResult(requestParams, options);
}
Localization files for many languages are supplied with the product; replace de.xml with the file you need. The Angular component itself is used without changes.

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.