Skip to main content
A newer version of this page is available. .

DataSourceWizardExtensionOptions Interface

Provides options for customizing the DataSourceWizardExtension and MultiQueryDataSourceWizardExtension.

Declaration

export interface DataSourceWizardExtensionOptions

Properties

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 may 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.