Skip to content

Interface

Parameters of DataSource 's constructor.

Properties

PropertyTypeNotes
belongToDataSourceDataSource

Data source that the to-be-created data source belongs to.

dataSourceJsonIMDataSourceJson

dataSourceJson or belongToDataSource is either-or option. Pass dataSourceJson will create a main data source. Pass belongToDataSource will create data view or local data source.

dataViewIdstring

If dataViewId exists, a data view will be created.

idstring

The data source ID.

jimuChildIdstring

jimuChildId is the id to distinguish between different child data sources in a parent data source. Besides jimuChildId, every child data source has a data source id, which consists of parent data source id and jimuChildId.

localIdstring

if localId exists, a local data source will be created.

ordernumber

Order in the parent data source.

sourceRecordsDataRecord[]

If all of the data is saved in the data source instance, put the data in the source records. For others, the data may come from AGOL/portal item or a remote database.

belongToDataSource

optional
Interface Property

dataSourceJson

optional
Interface Property

dataViewId

optional
Interface Property

id

Interface Property

jimuChildId

optional
Interface Property

localId

optional
Interface Property

order

optional
Interface Property

sourceRecords

optional
Interface Property

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.