Skip to main content
Question

ArcGIS REST API Truncate operation?

  • September 13, 2019
  • 1 reply
  • 88 views

mredpath
Participant

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

debbiatsafe
Safer
Forum|alt.badge.img+21
  • Safer
  • September 16, 2019

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.