Select to view content in your preferred language

FC Attachment Downloads and save

271
2
03-04-2025 11:43 AM
ModernElectric
Frequent Contributor

Good Afternoon:

I have a large number of Hosted Feature Layers on ArcGIS Online that are apart of Field Maps, Survey123 and Workforce. I have them all added to a project in ArcGIS Pro for analysis and backup workflows.

Curious, is there a way to do a mass download of attachments per Hosted Feature Class and save to a network folder? Trying to do it feature-by-feature is very inefficient and time consuming. 

Many different kinds of field images from our crews that I want to back-up and use for our master map (locate marks, tree trimming, new construction, etc).

Appreciate the guidance. 

0 Kudos
2 Replies
RyanUthoff
MVP Regular Contributor

This is a workflow to download all the photos as an attachment table as part of an FGDB. https://support.esri.com/en-us/knowledge-base/how-to-download-and-extract-a-hosted-feature-layer-wit...

Otherwise, if you want to download the actual attachments, here are some workflows that should accomplish that. The first link I posted is going to be the easiest as long as you're comfortable with a little bit of Python. 

https://support.esri.com/en-us/knowledge-base/how-to-batch-export-attachments-from-a-feature-class-i...

https://www.esri.com/arcgis-blog/products/arcgis-pro/data-management/create-your-own-geoprocessing-t...

https://community.esri.com/t5/arcgis-online-documents/downloading-feature-layer-attachments-via-the/...

Edit: I'm not 100% sure if any of those Python tools are compatible with reading AGOL hosted feature layers directly. You might need to use the first method I mentioned to download the FGDB, then use the Python script to extract the photos from the FGDB attachment table.

AnninaRupe1
Frequent Contributor
0 Kudos