Uploading data with attachments to ArcGIS Online?

2018
2
04-04-2019 11:35 AM
MelissaDaniels1
New Contributor III

I have a layer on ArcGIS Online that has tons of features, all with photos attached. We recently decided to split this layer up into smaller layers (i.e., one for each project). So I downloaded the layer as a file geodatabase, in order to preserve our domains and download the photos. The photos are indeed there when downloaded. Then I try to re-upload them to ArcGIS Online, and the photos disappear. So how do I upload a feature class to ArcGIS Online and preserve the attachments?

Also - is there a better way to split up a large layer into smaller layers without downloading and re-uploading? I've already tried this copy layer and save layer thing, but it just creates many layers that point back to the same data, which is not what I'm looking for.

Thanks!

0 Kudos
2 Replies
KellyGerrow
Esri Frequent Contributor

HI Melissa,

This should work when publishing a file geodatabase with attachments:

https://doc.arcgis.com/en/arcgis-online/manage-data/publish-features.htm#ESRI_SECTION1_F878B830119B4...

Are you able to share the FGDB?

-Kelly

0 Kudos
KhaledHassen
Esri Contributor

Not sure why you need to split. If it is not related to performance and just for project related changes, then will be good to consider creating views. One view per project and each view layer will have a definition query for the data related to this project.

Not sure if you have issues using views instead of the split.

Khaled Hassen

Online Feature Service Dev Lead

0 Kudos