FeatureDataRecord

Interface

Record of the ArcGIS queriable data source.

Inheritance: FeatureDataRecordDataRecord

Properties

Hide inherited properties
PropertyTypeNotes
(deep?boolean) => FeatureDataRecord

Create a clone of the data record object. Use shallow clone by default. If deep is true , will use deep clone.

A reference of the data source object that has this record.

IFeature | Graphic

The feature returned from query ArcGIS REST APIs or the ArcGIS Maps SDK for JavaScript Graphic object

() => {}

The data is a plain object. The format is {key: value}, and the key is "jimuFieldName".

getFieldValue
inherited
(jimuFieldNamestring) => any

Return the value of a specific field.

(intlIntlShape) => any

Return formatted record.

(jimuFieldNamestring, intlIntlShape) => string

Return the formatted value of a specific field.

() => IGeometry

Return geometry of the record.

() => string

Return ID of the record.

boolean

Whether the feature has full precision geometry. Default is true. If a client-side query is enabled in the map widget, it may be false.

(idstring) => void

Set ID of the record.

() => IFeature | Graphic

Return the data in JSON format, which is used to serialize data, and the key is "jimuFieldName".

clone

Interface Property
clone: (deep?boolean) => FeatureDataRecord

Create a clone of the data record object. Use shallow clone by default. If deep is true , will use deep clone.

Type declaration

dataSource

Interface Property
dataSource: ArcGISQueriableDataSource

A reference of the data source object that has this record.

feature

Interface Property
feature: IFeature | Graphic

The feature returned from query ArcGIS REST APIs or the ArcGIS Maps SDK for JavaScript Graphic object

getData

Interface Property
getData: () => {}

The data is a plain object. The format is {key: value}, and the key is "jimuFieldName".

The data before mapping use this schema: {fieldName: value}. We need to return this schema: {jimuFieldName: value}.

Type declaration
    function(): {}
    Returns 
    {}

    getFieldValue

    inheritedinherited
    Interface Property
    getFieldValue: (jimuFieldNamestring) => any

    Return the value of a specific field.

    Type declaration
      function(jimuFieldNamestring): any
      Parameters
      ParameterType
      jimuFieldName
      string
      Returns 
      any

    getFormattedData

    inheritedinherited
    Interface Property
    getFormattedData: (intlIntlShape) => any

    Return formatted record.

    Type declaration
      function(intlIntlShape): any
      Parameters
      ParameterType
      intl
      IntlShape
      Returns 
      any

    getFormattedFieldValue

    Interface Property
    getFormattedFieldValue: (jimuFieldNamestring, intlIntlShape) => string

    Return the formatted value of a specific field.

    Type declaration
      function(jimuFieldNamestring, intlIntlShape): string
      Parameters
      ParameterType
      jimuFieldName
      string
      intl
      IntlShape
      Returns 
      string

    getGeometry

    Interface Property
    getGeometry: () => IGeometry

    Return geometry of the record.

    Type declaration
      function(): IGeometry
      Returns 
      IGeometry

    getId

    Interface Property
    getId: () => string

    Return ID of the record.

    Type declaration
      function(): string
      Returns 
      string

    hasFullGeometry

    Interface Property
    hasFullGeometry: boolean

    Whether the feature has full precision geometry. Default is true. If a client-side query is enabled in the map widget, it may be false.

    setId

    Interface Property
    setId: (idstring) => void

    Set ID of the record.

    Type declaration
      function(idstring): void
      Parameters
      ParameterType
      id
      string
      Returns 
      void

    toJson

    Interface Property
    toJson: () => IFeature | Graphic

    Return the data in JSON format, which is used to serialize data, and the key is "jimuFieldName".

    Type declaration
      function(): IFeature | Graphic
      Returns 
      IFeature | Graphic

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

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close