Attachments dissapear after merge operation.

Discussion created by blake.gardiner_JEG on Feb 1, 2017
Latest reply on Feb 7, 2017 by SWendel-esristaff



I've got multiple hosted services in AGOL with attachments enabled, and am needing to use the merge command to bring them into a single layer. This works fine in the API for the mostpart. Issues i'm having;


The attachments are not maintained through the merge operation and dissapear. There appears to be no option to maintain attachments (as there is in the ArcGIS Pro Python envrionment setting)

I'd like to overwrite the 'merged' layer each time - but the script crashes if theres an existing feature layer - again, an environment setting to enable overwriting would be nice.


The attachments must be maintained, therefore forcing me to download the data, and use arcpy to do the merge operation etc. It would be nice to have an option to do everything with the API. Is there any plans to enable this or any further thoughts?