Help with Retrieving Attachment Count per Object ID in Enterprise
Hi,
I’m having trouble retrieving only the number of attachments associated with each Object ID for a layer published to ArcGIS Enterprise.
Currently, the only way I’ve found is by expanding the full list of attachments, but this process becomes very slow when dealing with a large number of attachments.
Is there a more efficient method to get just the count of attachments per Object ID without having to load the full attachment details?
Thanks in advance for any guidance.
Page 1 / 1
You can achieve this in FME form with a traditional Reader (not a Feature Reader, not sure why Safe haven’t).
Select the format Esri ArcGIS Online (AGOL) Feature Service
Under the parameters of you should find this option… “include attachments”. Hopefully the latest FME form has this option on a featureReader, but last I checked… alas it did not
Then check the Format attributes and check on the agol attachments
This will expose it to the canvas. Not sure if it comes as a list, if so, then use ListExploder and from there you can use something like statisticsCalculator to count using a groupby on the ObjectID