Skip to main content
Question

ArcGIS Online AGOL - reading and writing Attachments to local gdb

  • March 29, 2019
  • 3 replies
  • 131 views

gis_queen

Can't find a clear answer on this - is there a way to read from AGOL and write all data including attachments to a local gdb? I found the bit about the dropdown to include attachment and expose as an attribute but this isn't really helping.

Does anyone have guidance or a workbench they can send that brings this data through with the actual image or file attachments on the feature itself as it appears in AGOL?

Thanks!

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.

3 replies

bruceharold
Supporter
Forum|alt.badge.img+19
  • Supporter
  • March 29, 2019

If you have ArcGIS Pro try the Feature Class to Feature Class geoprocessing tool with the environment setting Maintain Attachments set.


lars_de_vries
Forum|alt.badge.img+10

You could also try to go the REST API interface in ArcGIS Online and Create a Replica. This could also be done with the REST API and an HTTPCaller.

I wrote an article about it, which you can find here.


  • April 3, 2019

@heartlacey

It seems there is still no direct and one-tool way to read and write AGOL Feature service with the attachments into a geodatabase. This is primarily due the way the geodatabse stores feature classes with attachment, i.e. using 3 different tables: feature class, attachment table & a relationship class.

 

I found a template in the following link that helped me achieve this. Scroll to the bottom of the link and download the zipped file. You just need to customise the setting to meet your needs. The workflow works really well.