This example shows how to create a custom dashboard storage that allows storing dashboards in a data base.
Custom dashboard storage should implement the IDashboardStorage interface, that contains the following public methods:
string CreateNewDashboard() - creates a new dashboard and saves it to a storage. Returns an ID of the created dashboard.
XDocument GetDashboard(string id) - returns a dashboard by its id in the XDocument format that describes an object model of the dashboard.
IEnumerable<string> GetDashboardIDs() - returns a list of IDs of dashboards available in the data storage .
void UpdateDashboard(string id, XDocument document) - updates the dashboard by its id with new settings.
Added By: David Ösztreicher at: 5/26/2016 10:15:07 AM I'm trying to apply this to the recent 16.1.2 release but it seems that the IDashboardStorage signatures have changed.
Can you provide a link to updated documentation or code examples?
Custom dashboard storage should implement the IDashboardStorage interface, that contains the following public methods:
string CreateNewDashboard() - creates a new dashboard and saves it to a storage. Returns an ID of the created dashboard.
XDocument GetDashboard(string id) - returns a dashboard by its id in the XDocument format that describes an object model of the dashboard.
IEnumerable<string> GetDashboardIDs() - returns a list of IDs of dashboards available in the data storage .
void UpdateDashboard(string id, XDocument document) - updates the dashboard by its id with new settings.
Question Comments
Added By: David Ösztreicher at: 5/26/2016 10:15:07 AM I'm trying to apply this to the recent 16.1.2 release but it seems that the IDashboardStorage signatures have changed.
Can you provide a link to updated documentation or code examples?