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

ChooseJsonSchemaPage Class

Implements the Select Data Fields section of the Report Wizard’s Specify Data Source Settings (JSON) page.

Declaration

class ChooseJsonSchemaPage extends Analytics.Wizard.ChooseJsonSchemaPage

Remarks

This section allows users to choose data fields to include in the resulting data source.

You can customize this section or remove it from the Specify Data Source Settings (JSON) page. To identify this section in code, use the FullscreenReportWizardSectionId.ChooseJsonSchemaPage value.

See the following topics for more information:

Implements

Inheritance

constructor(createJsonDataSourceInfo)

Creates a new instance of the ChooseJsonSchemaPage class with the specified settings.

Declaration

constructor(
    createJsonDataSourceInfo: (dataSource: Analytics.Data.JsonDataSource) => JQueryPromise<Designer.Internal.IDataSourceInfo>
)

Parameters

Name Type Description
createJsonDataSourceInfo (dataSource: JsonDataSource) => JQueryPromise<IDataSourceInfo>

THe section’s settings.

Methods

commit Method

Commits settings to the local page state.

Declaration

commit(): JQueryPromise<any>

Returns

Type Description
JQueryPromise<any>

A JQuery Promise object that identifies whether the commit succeeded.

initialize(state) Method

Initializes the section with the specified settings.

Declaration

initialize(state: any): JQueryPromise<{}>

Parameters

Name Type Description
state any

The section’s state.

Returns

Type Description
JQueryPromise<>

A JQuery Promise object that identifies whether section initialization succeeded.