Skip To Content ArcGIS for Developers Sign In Dashboard

TableQuerySublayerSource QML Type

Sublayer source that is a layer/table defined by a SQL query. More...

Import Statement: import Esri.ArcGISRuntime 100.9
Since: Esri.ArcGISRuntime 100.1
Inherits:

SublayerSource

Properties

Signals

Detailed Description

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

TypeDefault Property
SpatialReferencespatialReference

Property Documentation

geometryType : GeometryType

The geometry type.


objectIdFieldNames : list<string>

The list of ObjectID field names.

This property can be set only during instantiation.


spatialReference : SpatialReference

The spatial reference.


sqlQuery : string

The SQL query.

To obtain this string, you may need to contact your ArcGIS Server Administrator and/or author of the dynamic layer that was created with ArcGIS Desktop/ArcGIS Pro. It will look something like this:

"SELECT * FROM ss6.gdb.counties where state_name = 'Kentucky'";

This property can be set only during instantiation.


workspaceId : string

The workspace ID.

This property can be set only during instantiation.


Signal Documentation

geometryTypeChanged()

Emitted when the geometryType property changes.

Note: The corresponding handler is onGeometryTypeChanged.


objectIdFieldNamesChanged()

Emitted when the objectIdFieldNames property changes.

Note: The corresponding handler is onObjectIdFieldNamesChanged.


spatialReferenceChanged()

Emitted when the spatialReference property changes.

Note: The corresponding handler is onSpatialReferenceChanged.


sqlQueryChanged()

Emitted when the sqlQuery property changes.

Note: The corresponding handler is onSqlQueryChanged.


workspaceIdChanged()

Emitted when the workspaceId property changes.

Note: The corresponding handler is onWorkspaceIdChanged.



Feedback on this topic?