Designer and Viewer Modes
- 2 minutes to read
The Web Dashboard can act as a designer or viewer. The following modes are available:
- Designer
- The Web Dashboard works as a designer and allows users to create, edit, and save dashboards. In this mode, the control loads the extensions required to design dashboards. Users can access the Data Source Wizard and can preview underlying data. A user can switch the control to
Viewer
mode and can modify dashboards from storage on the client side. The requests from the dashboard backend server can be sent to third-party resources. This is the default mode. - The Web Dashboard works as a viewer and displays dashboards to users. In this mode, the control also loads the extensions required to design dashboards. A user can switch the control to
Designer
mode.
- The Web Dashboard works as a designer and allows users to create, edit, and save dashboards. In this mode, the control loads the extensions required to design dashboards. Users can access the Data Source Wizard and can preview underlying data. A user can switch the control to
- ViewerOnly
- The Web Dashboard does not load the extensions required to design dashboards. Users cannot switch to
Designer
orViewer
modes on the client.
Specify Designer or Viewer Mode on the Server
You can use the DashboardExtensionSettings.WorkingMode property to specify the initial working mode on the server.
In Viewer mode, you have access to the client API and can modify dashboards from storage. The clientAPI also allows you to switch between Viewer and Designer modes. For information on how to protect dashboards stored on a server, see the following topic: Security Considerations.
Switch Between Designer and Viewer Modes on Client
Use the following approaches to switch the working mode on the client:
- Change the working mode of the client-side DashboardControl object. More information: Designer and Viewer Modes.
Switch the working mode using the ASPxClientDashboard object’s API.
Switch Between Designer or Viewer Modes in the UI
You can enable the Dashboard Panel to allow users to switch between the Designer
and Viewer
.