Instrução
When attempting to batch delete features in a hosted feature layer, instead of using ArcGIS REST API, an alternative method is to use the Delete Features tool in ArcGIS Pro. Using the Delete Features tool is effective for users unfamiliar with ArcGIS REST API, as it allows overwriting the hosted feature layer after batch deleting its features, with the results reflected in ArcGIS Online. This article provides the workflow to batch delete features from a hosted feature layer in ArcGIS Pro.
Note: This workflow may take a longer processing time when deleting a large number of records.
Note: If the Feature Service Editing Updates window is displayed after the features are deleted, click OK.
The image below shows the updated hosted feature layer on the ArcGIS Online web map.
Obtenha ajuda de especialistas do ArcGIS
Baixe o Aplicativo de Suporte da Esri