ServiceFeatureTable.withItem constructor
Creates a new service feature table object from a map or feature service portal item.
Parameters:
item
— An ArcGIS map or feature service PortalItem.layerId
— The layer id of an individual layer in the ArcGIS map or feature service represented by the Item.