Subtype group tables can be created by referencing a table from a feature service that contains subtypes. Each subtype in the feature service table can be a separate table in the subtype group table, and be given its own display and editing properties.

With respect to layer blending, subtype group layers follow the same rules as a typical group layers.

Referenced by: tables

Properties

PropertyDetails
customParametersA sequence of custom parameters appended to the URL of all requests related to a layer.
idUnique string identifier for the table.
itemIdOptional string containing the item ID of a portal item registered on ArcGIS Online or your organization’s portal.
layerDefinitionA layerDefinition object defining the definition of the group table that apply to all sub tables.
See layerDefinition properties table.
layerTypeString indicating the table type.
Valid value of this property SubtypeGroupTable
refreshIntervalRefresh interval of the table in minutes. Non-zero value indicates automatic table refresh at the specified interval. Value of 0 indicates auto refresh is not enabled.
tables[]An array of objects representing non-spatial datasets used in the web map.
titleString value for the title of the table.
urlString value indicating the URL reference of the hosted table.

layerDefinition properties

PropertyDetails
definitionExpressionSQL-based definition expression string that narrows the data to be displayed in the layer.

Example

{
"layerType": "SubtypeGroupTable",
"url": "http://sampleserver6.arcgisonline.com/arcgis/rest/services/SF311/FeatureServer/1",
"id": "SF311_1421",
"tables": [],
"title": "Service table with subtypes."
}