Skip to content

table

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

Property Details
attributeTableInfo An attributeTableInfo object defining how the data will be presented in tabular format.
capabilities A 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 superceded by layerDefinition.capabilities.
charts[] An array of chart items of type WebChart available on the table.
customParameters A sequence of custom parameters appended to the URL of all requests related to a layer.
definitionEditor Object indicating the definitionEditor used as a table's interactive filter.
formInfo A formInfo object defining the content of the form when you are editing a record.
id Unique string identifier for the table.
itemId Optional string containing the item ID of a portal item registered on ArcGIS Online or your organization's portal.
layerDefinition A layerDefinition object defining the attribute schema and other related information specific to the table.
See layerDefinition properties table.
popupInfo An object defining the content of popup windows when you query a record and the sort option for child related records.
refreshInterval Refresh 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.
title String value for the title of the table.
url String value indicating the URL reference of the hosted table.

layerDefinition properties

Property Details
capabilities A comma separated list of supported capabilities, e.g. Query, Query,Sync, Query,Editing.
definitionExpression SQL-based definition expression string that narrows the data to be displayed in the layer.

Example

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

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.