I have a service (published from Server) that I'm using in an editing app on AGOL. I'm trying to write a script to pull metadata from the images, but I can't figure out how to access the image metadata. From what I've found, there is a parameter called "returnMetadata", which should be set to True on the service, but I can't see where or how to enable that. (source: https://developers.arcgis.com/rest/services-reference/enterprise/query-attachments-feature-service-l... )
Could you please ensure that "name": "exifInfo" is in the layer's attachmentProperties?
Here's some documentation around enabling attachmentProperties on a feature service in ArcGIS Enterprise: https://developers.arcgis.com/rest/services-reference/enterprise/layer-feature-service-.htm#:~:text=...
Please let me know if you get this working
Sorry for the late reply. I think the main issue I'm facing is that the layer is hosted on AGOL, not Enterprise. I'm going to try publishing from SDE and see if I can get better results with that service.