fun getTable(layerId: Long): ServiceFeatureTable?

Returns a service feature table object from the ID of a layer or table in the service. If a table instance for the layer already exists in ServiceGeodatabase.getConnectedTables(), the existing object will be returned. Otherwise, a new ServiceFeatureTable will be created.

If no table or layer exists in the service with the given ID, an ErrorType.CommonInvalidArgument error is thrown.


A table instance for working with the table or layer in the feature service.