A table is a non-spatial dataset in a feature service or map service. A table can be created by specifying a URL to a table resource in a feature service or map service, with optional reference to a portal item that contains additional property overrides.

Referenced by: tables, Web Link Chart

Properties

PropertyDetails
attributeTableInfoAn attributeTableInfo object defining how the data will be presented in tabular format.
capabilitiesA comma-separated string indicating whether feature editing is allowed. Allowed values: Query, Query,Sync. Lack of Editing in this string indicates editing is not allowed. This property is superseded by layerDefinition.capabilities.
charts[]An array of chart objects representing charts associated with the table.
customParametersA sequence of custom parameters appended to the URL of all requests related to a layer.
definitionEditorObject indicating the definitionEditor used as a table’s interactive filter.
formInfoA formInfo object defining the content of the form when you are editing a record.
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 attribute schema and other related information specific to the table.
See layerDefinition properties table.
popupInfoAn object defining the content of popup windows when you query a record and the sort option for child related records.
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.
titleString value for the title of the table.
urlString value indicating the URL reference of the hosted table.

layerDefinition properties

PropertyDetails
capabilitiesA comma separated list of supported capabilities, e.g. Query, Query,Sync, Query,Editing.
definitionExpressionSQL-based definition expression string that narrows the data to be displayed in the layer.
fieldConfigurations[]An array of fieldConfiguration objects that define configuration for fields within a layer, including how to format date, time and number fields. Support for fieldConfigurations is currently limited to feature service-backed feature layers, oriented imagery layers, catalog footprint layers, subtype layers, subtype tables and tables. Support for additional layer types is planned for future releases.

Example

{
"url": "http://sampleserver6.arcgisonline.com/arcgis/rest/services/SF311/FeatureServer/1",
"id": "SF311_1421",
"title": "SF311 - SF_Crime_Incidents",
"itemId": "0217f8067457410a998fc9293563ba94",
"capabilities": "Query"
}