I have feature classes that have attribute rules assigned. They also have attachments enabled using globalids; When i have a feature class with multiple attachments (more than one record in the attachment table) and i try...
to export the feature class from the geodatabase using feature class to feature class tool with "maintain attachments" and "preserve globalids" the resulting exported feature class only has ONE record in the attachment table.
If i try to copy and paste (which should maintain attachments) i get error 000260 "failed to copy multiple".
If i try to export to xml workspace then i get error 999999 "__ATTACH could not be found".
Does not matter if the target export location is FGDB or another EGDB, still same issues.
Only workaround that i have found is to publish the features as a feature service and use the service as the input for the feature class to feature class tool and magically all the attachments are shown in the exported layers.. this method does not currently fit my workflow since i need to script the export nightly and i run into issues when trying to use the feature service as an input to the script..
ESRI support cannot duplicate the error.. any help is greatly appreciated..
ArcPRO 2.8.1
Geodatabase 10.8.1
Oracle 12CR1