ServiceFeatureTable.withFeatureLayerItem constructor

ServiceFeatureTable.withFeatureLayerItem(
  1. Item item
)

Creates a new service feature table object from an ArcGIS map or feature service, or feature layer portal item.

If the portal item is a map or feature service, the ServiceFeatureTable will be created from the first layer on the service. If the portal item is a feature layer, the ServiceFeatureTable will be created from the feature layer.

Parameters:

  • item — An ArcGIS map or feature service, or feature layer PortalItem.