DataSourceWizardExtensionOptions Interface

Provides options for customizing the DataSourceWizardExtension and MultiQueryDataSourceWizardExtension.

Declaration

export interface DataSourceWizardExtensionOptions

Remarks

See the Extensions Overview section for information on how to use the HTML JavaScript Dashboard's client-side API.

See Also

Properties

allowCreateNewJsonConnection Property

Specifies whether an end user can create a JSON data source with a new data connection.

Declaration

allowCreateNewJsonConnection?: boolean

Property Value

Type Description
boolean

true, to allow end users to create a JSON data source with a new data connection; otherwise, false.

See Also

enableCustomSql Property

Enables a user to specify a custom SQL string in the Data Source wizard.

Declaration

enableCustomSql?: boolean

Property Value

Type Description
boolean

true, to allow a user to specify a custom SQL string in the Data Source wizard; otherwise, false.

Remarks

Executing custom SQL queries is forbidden by default. Use the AllowExecutingCustomSql property to allow the Web Dashboard to execute SQL queries on the server side.

WARNING

The use of custom SQL queries can lead to inadvertent or unauthorized modifications to your data/database structure. Therefore, make sure that you follow best practices and implement the appropriate end-user read/write privileges at the database level.

onCustomizeDataSourceWizard Property

A handler for the event that allows you to customize the Dashboard Data Source Wizard.

Declaration

onCustomizeDataSourceWizard?: (args: IDashboardWizardEventArgs) => void

Property Value

Type Description
(args: IDashboardWizardEventArgs) => void

A function that is executed before the Dashboard Data Source Wizard is invoked.

wizardSettings Property

Declaration

wizardSettings?: IDashboardDataSourceWizardSettings

Property Value

Type
IDashboardDataSourceWizardSettings