This example illustrates how to create and store a custom property to save the Dashboard State along with the dashboard layout (XML).
The DashboardState
custom property is stored at the Dashboard level. The following events are handled on the client side:
- DashboardControl.onDashboardInitialized - to read the dashboard state from a custom property.
- DashboardControl.onDashboardStateChanged - to save the changed dashboard state to a custom property.
See the following article for information on how to store a custom property value at the Dashboard level: Dashboard Description - Custom Property.