Select to view content in your preferred language

Trouble Exporting Database With Attachments

373
3
07-11-2024 07:00 PM
Labels (3)
NoahMcDowall
Emerging Contributor

I am trying to export a layer I have with ArcGIS Pro, the layer exported successfully as a layer but I got Warning 001177 that the export did not include the attachment of the layer. The online documentation for  Warning 001177 says to update the layer before exporting it with the update geodatabase tool ( the layer is part of a larger geodatabase) so that it is version 10.0 or later.  

AttachmentsNotSuppourted.png

 

 

 

 

 

However, when I go to do this I receive another error saying I am unable to update the survey because it is already at the latest version. I also tried updating ArcGIS Pro and then updating the layer, which still proved unsuccessful.  How can I resolve this so I can export my data as a database with the image attachments?

UpToDate.png

0 Kudos
3 Replies
abanam1
New Contributor

I haven't used this script, but based on the column names (which are all standard attachment table columns) I think you should be passing the attachment table itself in, not your feature class https://tutuapp.uno/ .

0 Kudos
David_Brooks
MVP Regular Contributor

@NoahMcDowall so you have a feature class with attachments in one gdb and you're looking to use Export Features to copy it to another gdb? Or are you export out to a different format like a shape file?

Shapefile doesn't support attachments. FYI. 

If it's a direct copy, then try using "feature class to feature class" which is the older version of the tool. And check the Environment option to "Preserve attachments"


David
..Maps with no limits..
0 Kudos
NoahMcDowall
Emerging Contributor

@David_Brooks , So to clarify the object I am passing into the Export table comes from merging two objects together from my original file geodatabase ( I am including screenshots below so it's clearer) one called Survey and the other which was the attachments table called Survey_Attach. I then tried to export that file, which you can see still has the attachments while in ArcGIS Pro but the exported version of it just doesn'tAcctualyDatabase_2.pngacctualyData_3.pngActualyDatabase.png

0 Kudos