Question

Get Feature Service Item ID and URL from Reader/Writer

  • 8 July 2020
  • 1 reply
  • 14 views

After running a feature service reader or writer a bunch of information is logged such as:

ArcGIS Online Feature Service Writer: Getting item with ID '2b51386cf7b346d59fda3ff653deccc3'

ArcGIS Online Feature Service Writer: Requesting metadata for Feature Service at 'https://services5.arcgis.com/7X0RdDUh866P5Y57/arcgis/rest/services/FeatureServiceName/FeatureServer'

 

Is there anyway to get the item ID and URL of the feature service as attributes to use in FME? I want to be able to get the URL of the feature service that has just been written to, so I can then do another web request, but I don't seem to be able to get those attributes from the writer?


1 reply

Badge +2

Hi @sweston,

Often times metadata like this can be obtained from format attributes. Try exposing either the arcgisonline_globalid or arcgisonline_objectid to see if that helps you get the information you are looking for. As for the url, I'm not sure if this is possible yet but please share your support for this idea by upvoting and adding your use case to the comments on this Idea: https://knowledge.safe.com/idea/113103/option-of-using-the-feature-service-url-within-the.html

If that doesn't work, perhaps you could get after the id/url from an HTTPCaller or by trying to extract information from the log file.

Reply