Skip to main content

Create an OLAP Data Source

  • 2 minutes to read

Prerequisites

  1. Register a data connection string provider.

    The Web Dashboard control does not expose connection strings from the configuration file (appsettings.json or Web.config) when used in Designer mode. You need to use a data connection string provider to avoid data leaks and pass connection parameters safely. You can use a predefined data connection string provider or implement a custom provider.

    For additional information, refer to the following help topics:

  2. The ASP.NET Core Dashboard control supports the following data providers in OLAP mode:

Use the OlapDataProvider property to specify the data provider.

To use the ADOMD.NET data provider, install the Microsoft.AnalysisServices.AdomdClient NuGet package.

Select a Data Connection

The Choose a data connection page appears if you select OLAP on the start page. Select an existing connection from the list.

Web Dashboard - Choose an OLAP data connection

For information on how to register data connections in your application, refer to the following help topics:

Click Finish to create an OLAP data source.

API

The OLAP wizard page is identified by the following API:

Page Name Page ID Class
Choose Connection (OLAP) OlapDataSourceWizardPageId.ChooseConnectionPage DashboardChooseOlapConnectionStringPage
See Also