Register Default Data Sources

This document describes how to provide a Web Dashboard with a set of default data sources available for end-users.

WebDesigner_DefaultDataSources

You can create the data sources at runtime. The Web Dashboard supports the following data source types:

After you create the data sources, call the DashboardConfigurator.SetDataSourceStorage method to register them in a data source storage. You can use a predefined implementation of the in-memory storage (DataSourceInMemoryStorage) or you can implement the IDataSourceStorage interface to provide custom data source storage.

Protect User Data

The Web Dashboard saves user credentials used by data sources to the dashboard XML definition.

Use the boolean DashboardConfigurator.PassCredentials property to specify whether to pass this information to the client side (web browser). Set this property to false and provide connection parameters in one of the following ways to avoid any security issues: