Skip To Content ArcGIS for Developers Sign In Dashboard

ArcGISFeatureTable QML Type

A feature table created from an ArcGIS feature service. More...

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

FeatureTable

Inherited By:

GeodatabaseFeatureTable and ServiceFeatureTable

Properties

Signals

Methods

Detailed Description

Note: You cannot declare or create a component of this type in QML code.

Subtypes of this type represent a feature set from a specific type of ArcGIS source such as a feature service or a geodatabase. The features in the set might or might not include geometry. You can query the ArcGISFeatureTable using attribute or spatial criteria. If permitted, you can edit the features. Edits are tracked, so you can later retrieve a list of your edits. If the feature set contains geographic features, you can display them on a map using a FeatureLayer.

An ArcGISFeatureTable may have FeatureTemplates, FeatureTypes, and support edit capabilities. These are defined by the table's service definition. An ArcGISFeatureTable may have editable attribute fields.

ArcGISFeatureTables from the same data source can be related to one another. RelationshipInfo defines relationships between tables. A relationship's cardinality may be one-to-one (1:1), one-to-many (1:n), or many-to-many (m:n), depending on the capabilities of the data source. If a table has relationships, you can find related tables, query for related features, and edit them.

To query or edit using related tables, all the tables participating in the relationship must be loaded into the same Map. Otherwise, the query will not return results and the edits cannot be performed. RelatedQueryParameters defines queries on related tables.

See also Cancelable and Loadable.

Property Documentation

addedFeaturesCountResult : string

Returns the result of the addedFeaturesCount operation (read-only).

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

See also addedFeaturesCountResultAsInt.


addedFeaturesCountResultAsInt : int

The same as addedFeaturesCountResult but represented as an integer type (read-only).

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

This QML property was introduced in Esri.ArcGISRuntime 100.3.


addedFeaturesCountStatus : Enums.TaskStatus

Returns the status of the addedFeaturesCount operation (read-only).

See also Enums.TaskStatus.


addedFeaturesResult : FeatureQueryResult

Returns the result of the addedFeatures operation (read-only).


addedFeaturesStatus : Enums.TaskStatus

Returns the status of the addedFeatures operation (read-only).

See also Enums.TaskStatus.


defaultSubtypeCode : var

Returns the table's default subtype code (read-only).

This QML property was introduced in Esri.ArcGISRuntime 100.3.


deletedFeaturesCountResult : string

Returns the result of the deletedFeaturesCount operation (read-only).

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

See also deletedFeaturesCountResultAsInt.


deletedFeaturesCountResultAsInt : int

The same as deletedFeaturesCountResult but represented as an integer type (read-only).

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

This QML property was introduced in Esri.ArcGISRuntime 100.3.


deletedFeaturesCountStatus : Enums.TaskStatus

Returns the status of the deletedFeaturesCount operation (read-only).

See also Enums.TaskStatus.


deletedFeaturesResult : FeatureQueryResult

Returns the result of the deletedFeatures operation (read-only).


deletedFeaturesStatus : Enums.TaskStatus

Returns the status of the deletedFeatures operation (read-only).

See also Enums.TaskStatus.


editableAttributeFields : list<string>

Returns the names of the table's editable attribute fields (read-only).

This property is populated after the table loads.


featureSubtypes : list<FeatureSubtype>

Returns a list of FeatureSubtype objects describing the subtypes of the layer (read-only).

This list is included for layers that have subtypes. The domains in the types list will match the domains in the subtype list for layers that have a unique value renderer based on the subtype column.

This QML property was introduced in Esri.ArcGISRuntime 100.3.


featureTemplates : list<FeatureTemplate>

Returns a list of feature templates for this ArcGISFeatureTable (read-only).

A feature template contains all the information required to create a feature, including the attributes a feature is created with. An ArcGISFeatureTable may have one or more feature templates that correspond to different types of features that you may create in the ArcGISFeatureTable.

You can get feature templates if this ArcGISFeatureTable does not contain feature subtypes.

This property is populated after the table loads.


featureTypes : list<FeatureType>

Returns a list of feature types for this ArcGISFeatureTable (read-only).

This property is populated after the table loads.


globalIdField : string

Returns the name of the table's global ID field (read-only).

This property is populated after the table loads.


hasAttachments : bool

Returns whether feature attachments are enabled (read-only).

This property is populated after the table loads.


Returns the service information associated with the feature layer (read-only).

Note, feature layer information can only be obtained after the table is loaded.


objectIdField : string

Returns the name of the table's object ID field (read-only).

This property is populated after the table loads.


queryRelatedFeatureCountResult : string

Returns the result of the queryRelatedFeatureCount operation (read-only).

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

This QML property was introduced in Esri.ArcGISRuntime 100.3.

See also queryRelatedFeatureCountResultAsInt.


queryRelatedFeatureCountResultAsInt : int

The same as queryRelatedFeatureCountResult but represented as an integer type (read-only).

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

This QML property was introduced in Esri.ArcGISRuntime 100.3.


queryRelatedFeatureCountStatus : Enums.TaskStatus

Returns the status of the queryRelatedFeatureCount operation (read-only).

This QML property was introduced in Esri.ArcGISRuntime 100.3.

See also Enums.TaskStatus.


queryRelatedFeaturesResults : list<RelatedFeatureQueryResult>

Returns a list of results from a queryRelatedFeatures operation (read-only).

These results contain the related features to the queried feature.

Obtain the results once the queryRelatedFeaturesStatusChanged signal emits, and the queryRelatedFeaturesStatus is complete.


queryRelatedFeaturesStatus : Enums.TaskStatus

Returns the status of the queryRelatedFeatures operation (read-only).

See also Enums.TaskStatus.


relatedTables : list<ArcGISFeatureTable>

Returns a list of all related tables that have been added to the map.

Only returns tables that have been added to the map that this table is associated with. This property is populated after this table loads.

This QML property was introduced in Esri.ArcGISRuntime 100.1.


serviceLayerId : string

Returns the layer ID in the feature service that this table was created from (read-only).

Note, service layer ID can only be obtained after the table is loaded, with the exception of GeodatabaseFeatureTable which can obtain the service layer ID after instantiation.

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

See also serviceLayerIdAsInt.


serviceLayerIdAsInt : int

The same as serviceLayerId but represented as an integer type (read-only).

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

This QML property was introduced in Esri.ArcGISRuntime 100.3.


subtypeField : string

Return the table's subtype field (read-only).

If the table does not have subtypes, an empty string is returned.

This QML property was introduced in Esri.ArcGISRuntime 100.3.


typeIdField : string

Returns the name of the table's type ID field (read-only).

This property is populated after the table loads.


updatedFeaturesCountResult : string

Returns the result of the updatedFeaturesCount operation (read-only).

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

See also updatedFeaturesCountResultAsInt.


updatedFeaturesCountResultAsInt : string

The same as updatedFeaturesCountResult but represented as an integer type (read-only).

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

This QML property was introduced in Esri.ArcGISRuntime 100.3.


updatedFeaturesCountStatus : Enums.TaskStatus

Returns the status of the updatedFeaturesCount operation (read-only).

See also Enums.TaskStatus.


updatedFeaturesResult : FeatureQueryResult

Returns the result of the updatedFeatures operation (read-only).


updatedFeaturesStatus : Enums.TaskStatus

Returns the status of the updatedFeatures operation (read-only).

See also Enums.TaskStatus.


useAdvancedSymbology : bool

Whether the dataset should be visualized using advanced CIM symbology from the service.

You cannot change this property after the table is successfully loaded.

The default value is true.

Services that do not support CIM symbols will ignore this property and return regular symbols instead.


validateRelationshipConstraintsResult : Enums.RelationshipConstraintViolationType

Returns the result of the validateRelationshipConstraints operation (read-only).

See also Enums.RelationshipConstraintViolationType.


validateRelationshipConstraintsStatus : Enums.TaskStatus

Returns the status of the validateRelationshipConstraints operation (read-only).

See also Enums.TaskStatus.


Signal Documentation

addedFeaturesCountStatusChanged()

Emitted when the addedFeaturesCountStatus property changes.


addedFeaturesStatusChanged()

Emitted when the addedFeaturesStatus property changes.


defaultSubtypeCodeChanged()

Emitted when the defaultSubtypeCode property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.3.


deletedFeaturesCountStatusChanged()

Emitted when the deletedFeaturesCountStatus property changes.


deletedFeaturesStatusChanged()

Emitted when the deletedFeaturesStatus property changes.


editableAttributeFieldsChanged()

Emitted when the editableAttributeFields property changes.


featureSubtypesChanged()

Emitted when the featureSubtypes property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.3.


featureTemplatesChanged()

Emitted when the featureTemplates property changes.


featureTypesChanged()

Emitted when the featureTypes property changes.


globalIdFieldChanged()

Emitted when the globalIdField property changes.


hasAttachmentsChanged()

Emitted when the hasAttachments property changes.


layerInfoChanged()

Emitted when the layerInfo property changes.


objectIdFieldChanged()

Emitted when the objectIdField property changes.


queryRelatedFeatureCountStatusChanged()

Emitted when the queryRelatedFeatureCountStatus property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.3.


queryRelatedFeaturesStatusChanged()

Emitted when the queryRelatedFeaturesStatus property changes.


relatedTablesChanged()

Emitted when the relatedTables property changes.


serviceLayerIdAsIntChanged()

Emitted when the serviceLayerIdAsInt property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.3.


serviceLayerIdChanged()

Emitted when the serviceLayerId property changes.


subtypeFieldChanged()

Emitted when the subtypeField property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.3.


typeIdFieldChanged()

Emitted when the typeIdField property changes.


updatedFeaturesCountStatusChanged()

Emitted when the updatedFeaturesCountStatus property changes.


updatedFeaturesStatusChanged()

Emitted when the updatedFeaturesStatus property changes.


useAdvancedSymbologyChanged()

Emitted when the useAdvancedSymbology property changes.


validateRelationshipConstraintsStatusChanged()

Emitted when the validateRelationshipConstraintsStatus property changes.


Method Documentation

string addedFeatures()

Requests a collection of features added to the local dataset but not yet added to the original source dataset using an asynchronous task.

This method uses an asynchronous task that cannot be started if it is already running from a previous call to addedFeatures. You should check that the addedFeaturesStatus property is not Enums.TaskStatusInProgress before calling this method.

After the task starts, you may use the signal addedFeaturesStatusChanged to monitor task status.

Returns a task ID that can be used to cancel the addedFeatures task.

See also Enums.TaskStatus and Cancelable.


string addedFeaturesCount()

Requests a count of features added to the local dataset but not yet added to the original source dataset using an asynchronous task.

This method uses an asynchronous task that cannot be started if it is already running from a previous call to addedFeaturesCount. You should check that the addedFeaturesCountStatus property is not Enums.TaskStatusInProgress before calling this method.

After the task starts, you may use the signal addedFeaturesCountStatusChanged to monitor task status.

Returns a task ID that can be used to cancel the addedFeaturesCount task.

See also Enums.TaskStatus and Cancelable.


ArcGISFeature createFeatureWithSubtype(FeatureSubtype featureSubtype)

Returns a new ArcGISFeature based on the given featureSubtype.

Creates a feature object in memory without adding it to the dataset. Use addFeature or addFeatures to add the new feature to the dataset.

This QML method was introduced in Esri.ArcGISRuntime 100.3.


ArcGISFeature createFeatureWithSubtypeAndGeometry(FeatureSubtype featureSubtype, Geometry geometry)

Returns a new ArcGISFeature based on the given featureSubtype and geometry.

Creates a feature object in memory without adding it to the dataset. Use addFeature or addFeatures to add the new feature to the dataset.

This QML method was introduced in Esri.ArcGISRuntime 100.3.


ArcGISFeature createFeatureWithTemplate(FeatureTemplate featureTemplate)

Returns a new ArcGISFeature based on the given featureTemplate.

Creates a feature object in memory without adding it to the dataset. Use addFeature or addFeatures to add the new feature to the dataset.


ArcGISFeature createFeatureWithTemplateAndGeometry(FeatureTemplate featureTemplate, Geometry geometry)

Returns a new ArcGISFeature based on the given featureTemplate and geometry.

Creates a feature object in memory without adding it to the dataset. Use addFeature or addFeatures to add the new feature to the dataset.


ArcGISFeature createFeatureWithType(FeatureType featureType)

Returns a new ArcGISFeature based on the given featureType.

Creates a feature object in memory without adding it to the dataset. Use addFeature or addFeatures to add the new feature to the dataset.


ArcGISFeature createFeatureWithTypeAndGeometry(FeatureType featureType, Geometry geometry)

Returns a new ArcGISFeature based on the given featureType and geometry.

Creates a feature object in memory without adding it to the dataset. Use addFeature or addFeatures to add the new feature to the dataset.


string deletedFeatures()

Requests a collection of features deleted from the local dataset but not yet deleted from the original source dataset using an asynchronous task.

This method uses an asynchronous task that cannot be started if it is already running from a previous call to deletedFeatures. You should check that the deletedFeaturesStatus property is not Enums.TaskStatusInProgress before calling this method.

After the task starts, you may use the signal deletedFeaturesStatusChanged to monitor task status.

Returns a task ID that can be used to cancel the deletedFeatures task.

See also Enums.TaskStatus and Cancelable.


string deletedFeaturesCount()

Requests a count of features deleted from the local dataset but not yet deleted from the original source dataset using an asynchronous task.

This method uses an asynchronous task that cannot be started if it is already running from a previous call to deletedFeaturesCount. You should check that the deletedFeaturesCountStatus property is not Enums.TaskStatusInProgress before calling this method.

After the task starts, you may use the signal deletedFeaturesCountStatusChanged to monitor task status.

Returns a task ID that can be used to cancel the deletedFeaturesCount task.

See also Enums.TaskStatus and Cancelable.


FeatureTemplate featureTemplate(string name)

Returns a feature template given its name.


FeatureType featureType(string name)

Returns a feature type given its name.


string queryRelatedFeatureCount(Feature feature)

Determines the count of features related to the provided feature.

The queryRelatedFeatureCountStatusChanged signal emits when the operation is complete. Check the queryRelatedFeatureCountStatus property to make sure the operation completed successfully. The results are then available through queryRelatedFeatureCountResult.

Returns a task ID that can be used to cancel the task.

This QML method was introduced in Esri.ArcGISRuntime 100.3.

See also Cancelable.


string queryRelatedFeatureCountWithParameters(Feature feature, RelatedQueryParameters relatedQueryParameters)

Determines the count of features related to the supplied feature based on the relatedQueryParameters.

The queryRelatedFeatureCountStatusChanged signal emits when the operation is complete. Check the queryRelatedFeatureCountStatus property to make sure the operation completed successfully. The results are then available through queryRelatedFeatureCountResult.

Returns a task ID that can be used to cancel the task.

This QML method was introduced in Esri.ArcGISRuntime 100.3.

See also Cancelable.


string queryRelatedFeatures(Feature feature)

Queries for related features of a given feature in all relationships.

This table and all related tables must be associated with the same Map, either as a feature source for a layer or added to the Map via Map.tables. Otherwise, the query will return no results.

The queryRelatedFeaturesStatusChanged signal emits when the operation is complete. Check the queryRelatedFeaturesStatus property to make sure the operation completed successfully. The results are then available through queryRelatedFeaturesResults.

This QML method was introduced in Esri.ArcGISRuntime 100.1.


string queryRelatedFeaturesWithParameters(Feature feature, RelatedQueryParameters relatedQueryParameters)

Queries for features related to the given feature in a specific relationship.

  • feature - The feature.
  • relatedQueryParameters - Description of the relationship and the query to perform.

This table and related tables must be associated with the same Map, either as a feature source for a layer or added to the Map via Map.tables. Otherwise, the query will return no results.

The queryRelatedFeaturesStatusChanged signal emits when the operation is complete. Check the queryRelatedFeaturesStatus to make sure the operation completed successfully. The results are then available through queryRelatedFeaturesResults.

This QML method was introduced in Esri.ArcGISRuntime 100.1.


list<ArcGISFeatureTable> relatedTablesWithRelationshipInfo(RelationshipInfo relationshipInfo)

Returns list of tables related by the given relationshipInfo.

Only returns tables that have been added to the same map. If there are multiple instances of the related table on the map, all such instances will be returned.

This QML method was introduced in Esri.ArcGISRuntime 100.1.


string updatedFeatures()

Requests a collection of features updated in the local dataset but not yet updated in the original source dataset using an asynchronous task.

This method uses an asynchronous task that cannot be started if it is already running from a previous call to updatedFeatures. You should check that the updatedFeaturesStatus property is not Enums.TaskStatusInProgress before calling this method.

After the task starts, you may use the signal updatedFeaturesStatusChanged to monitor task status.

Returns a task ID that can be used to cancel the updatedFeatures task.

See also Enums.TaskStatus and Cancelable.


string updatedFeaturesCount()

Requests a count of features updated in the local dataset but not yet updated in the original source dataset using an asynchronous task.

This method uses an asynchronous task that cannot be started if it is already running from a previous call to updatedFeaturesCount. You should check that the updatedFeaturesCountStatus property is not Enums.TaskStatusInProgress before calling this method.

After the task starts, you may use the signal updatedFeaturesCountStatusChanged to monitor task status.

Returns a task ID that can be used to cancel the updatedFeaturesCount task.

See also Enums.TaskStatus and Cancelable.


string validateRelationshipConstraints(Feature feature)

Validates constraints for a given feature participating in a relationship.

This method returns a task ID for the asynchronous operation.

The following are considered violations:

To recover from an orphaned destination feature violation, relate it to a valid origin feature. You can usually recover from a cardinality violation by un-relating the appropriate features. See ArcGISFeature::unrelateFeature.

Edit operations do not cause an error when there are constraint violations. This allows you to recover from violations in a back office operation after applying edits or syncing, if you choose to do so. See ArcGIS Desktop topic Validating features and relationships in ArcMap for a description of that process.

This method makes network calls to query for the related features if they are not present locally. If you have just related the feature you are validating, first you must call FeatureTable.updateFeature to reflect the modified attribute value in the table. If this is not done, validation results may be incorrect.

This QML method was introduced in Esri.ArcGISRuntime 100.1.



Feedback on this topic?