The dashboard can be filtered using the current user name without the Syncfusion Dashboard Server by using one of the following two APIs:
You can filter the dashboard based on the current user by passing the current user name within the filterParameters API. Passing the parameter filters the dashboard at the initial render. To learn more about the filterParameters, follow the given link.
To filter the dashboard based on the filter parameter using the filterParameters API, pass the current username as shown in the following code snippet.
Find the ASP.NET MVC sample to filter the dashboard using the filterParameters API in the following link.
In the above sample, the user name and password have been used as follows.
You can filter the dashboard based on the current user by passing the current user name within the dashboardParameters API.
To know how to configure the Dashboard Parameters in the Syncfusion Dashboard Designer, follow the given link.
Refer to the UG documentation link to learn about the Dashboard Parameter API.
To know how to pass the Dashboard Parameter from the viewer, follow the given link.
The following code snippet illustrates the Dashboard Parameters based on the current user.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
|8783||05/28/2018||05/28/2018||Dashboard Platform||Dashboard SDK|