dashboard-js-devexpress-dot-dashboard-dot-designer-077061d5.md
Provides options for customizing the DataSourceWizardExtension and MultiQueryDataSourceWizardExtension.
export interface DataSourceWizardExtensionOptions
See the following topic for information on how to use the DashboardControl’s client-side API: Extensions Overview.
See Also
Extensions in the Web Dashboard
Specifies whether an end user can create a JSON data source with a new data connection.
allowCreateNewJsonConnection?: boolean
| Type | Description |
|---|---|
| boolean |
true , to allow end users to create a JSON data source with a new data connection; otherwise, false.
|
See Also
Enables a user to specify a custom SQL string in the Data Source wizard.
enableCustomSql?: boolean
| Type | Description |
|---|---|
| boolean |
true , to allow a user to specify a custom SQL string in the Data Source wizard; otherwise, false.
|
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. Ensure that you follow best practices and implement the appropriate user read/write privileges at database level.
A handler for the event that allows you to customize the Dashboard Data Source Wizard.
onCustomizeDataSourceWizard?: (args: IDashboardWizardEventArgs) => void
| Type | Description |
|---|---|
| (args: IDashboardWizardEventArgs) => void |
A function that is executed before the Dashboard Data Source Wizard is invoked.
|
wizardSettings?: IDashboardDataSourceWizardSettings
| Type |
|---|
| IDashboardDataSourceWizardSettings |