Skip To Content ArcGIS for Developers Sign In Dashboard

Field QML Type

Information about a field for a feature table. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.0
Inherits:

Object

Properties

Signals

Detailed Description

Example:

Create a ServiceFeatureTable and obtain one of its fields:

ServiceFeatureTable {
    id: serviceFeatureTable
    url: sampleServerDamageInspectionUrl

    onLoadStatusChanged:  {
        if (loadStatus === Enums.LoadStatusLoaded) {
            var field = serviceFeatureTable.field("PRIMCAUSE");
            var fieldName = field.name;
            var fieldAlias = field.alias;
        }
    }
}

Property Documentation

alias : string

The alias name of the field.

The alias name is usually more user-friendly than the actual field name, which may be constrained by the underlying data source's naming convention.

If there is no alias defined, this is an empty string.


domain : Domain

Returns the domain that limits valid field values to a range or to a set of coded values (read-only).


editable : bool

Returns whether the field is editable (read-only).


fieldType : Enums.FieldType

The type of value in the field.

See also Enums.FieldType.


length : int

The field length.


name : string

The name of the field.


nullable : bool

Returns whether the field can accept null values (read-only).


Signal Documentation

aliasChanged()

Emitted when the alias property changes.


fieldTypeChanged()

Emitted when the fieldType property changes.


lengthChanged()

Emitted when the length property changes.


nameChanged()

Emitted when the name property changes.



Feedback on this topic?