Question

ArcGIS REST API Truncate operation?

  • 14 September 2019
  • 1 reply
  • 22 views

I saw on this page ( https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/arcgisonlinefeatures/ft-parameters-w.htm ):

The ArcGIS Online Feature Service writer performs a truncation by reading all feature IDs from the layer, and then making deletion requests in batches according to the Features Per Request advanced parameter.

I was wondering if there were plans to incorporate the ArcGIS REST API Truncate operation?

https://developers.arcgis.com/rest/services-reference/truncate-feature-layer-.htm


1 reply

Userlevel 3
Badge +17

Hi @mredpath

I have asked our development team about your question.

The ArcGIS Online writer was updated in FME 2018.0 to first try the Truncate Layer endpoint on the Admin API when truncating a feature layer, if the feature layer claims to support truncation. Should this operation fail (eg. if the user isn't the admin or owner, etc.), the ArcGIS Online writer will silently fall back to the old paginated deletion behaviour as described in the documentation.

I have filed an issue requesting the documentation to be updated.

Reply