SubtypeSubtable

A child table that allows custom editing of features of a particular subtype. Query and edit methods are not available until this table is added to ArcGISFeatureTable.subtypeSubtables. This SubtypeSubtable.subtype must be part of the ArcGISFeatureTable.featureSubtypes.

Since

200.7.0

See also

Constructors

Link copied to clipboard
constructor(subtype: FeatureSubtype)

Creates a new subtype subtable object.

Properties

Link copied to clipboard

True if editing is allowed for this subtype, when editing is supported; false, otherwise. Indicates whether a client should allow feature editing for this subtype. When you set this value to true, editing is allowed on the subtype only if the ArcGIS data source also supports editing.

Link copied to clipboard

The collection of FeatureTemplate objects applicable to this subtype. A collection of templates that can be used to create new features of SubtypeSubtable.subtype with default attribute values and a specified mode for creating its geometry.

Link copied to clipboard

A user-friendly name that can be displayed in the UI (for example, in a Table of Contents). The default value is FeatureSubtype.name.

Link copied to clipboard

The subtype in the ArcGIS data source that this table represents.

Link copied to clipboard

Unknown data from the source JSON. Unknown JSON is a dictionary of values not defined in the ArcGIS specification used to create this object but found in the source JSON. If the object is written back to JSON, any unknown JSON data is not persisted. The ArcGIS specification may be for a web map, web scene, REST API, and so on.

Link copied to clipboard

Unsupported data from the source JSON. Unsupported JSON is a dictionary of values defined in the ArcGIS specification used to create this object but not currently used in this API. If the object is written back to JSON, any unsupported JSON data is persisted. The ArcGIS specification may be from a web map, web scene, REST API, and so on.

Inherited properties

Link copied to clipboard

Defines the user interface to display when editing a feature in this layer or table. This is null if an error occurs or if the table does not have an associated feature form definition.

Link copied to clipboard
open override var isPopupEnabled: Boolean

A flag indicating whether the PopupDefinition defined on the PopupSource is enable / disable. Will return false if an error occurs.

Link copied to clipboard
open override var popupDefinition: PopupDefinition?

The pop-up definition. The PopupDefinition associated with the popup source. A null if an error occurs or if the popup source is not associated with a pop-up definition.

Functions

Link copied to clipboard
suspend fun addFeature(feature: ArcGISFeature): Result<Unit>

Adds a feature to the table. Use SubtypeSubtable.allowsEditing to determine if this operation is allowed.

Link copied to clipboard

Creates a new feature based on SubtypeSubtable.subtype.

Creates a new feature based on the provided feature template from SubtypeSubtable.featureTemplates.

Link copied to clipboard
suspend fun deleteFeature(feature: ArcGISFeature): Result<Unit>

Deletes a feature from the table. Use SubtypeSubtable.allowsEditing to determine if this operation is allowed.

Link copied to clipboard

Submits a query against the table with results filtered by this subtype.

Link copied to clipboard
suspend fun updateFeature(feature: ArcGISFeature): Result<Unit>

Updates a feature in the table. Use SubtypeSubtable.allowsEditing to determine if this operation is allowed.