FAQ: Why does an attachment table of a feature class without the GlobalID field cause errors?
Why does an attachment table of a feature class without the GlobalID field cause errors?
In ArcMap, creating an attachment for a feature class in a geodatabase also creates an attachment table and a relationship class. The attachment table contains the attachment files and the relationship class relates the features to the attached files.
If the feature class has a GlobalID field, the attachment table is created with a REL_GLOBALID field.
Otherwise, the attachment table is created with a REL_OBJECTID field from the ObjectID field of the feature class.
The errors occur in workflows, or when using geoprocessing tools, that require a GlobalID field if the attachment table does not have the REL_GLOBALID field. The errors still occur even if the GlobalID field is added to the table after the attachment is created, because this does not change how the attachment is created and its relationship to the feature class.
Therefore the attachment table and relationship class must be re-created after the GlobalID field is added to the feature class.
ArcMap Help: Enabling attachments
ArcMap Help: Add Attachments
ArcMap Help: ArcGIS field data types
ArcMap Help: About editing relationships in ArcMap
ArcMap Help: Add Global IDs
ArcGIS Pro Help: 001592: <value> does not have a GlobalID field.
Last Published: 3/22/2018
Article ID: 000015632
Software: ArcMap 10.4.1, 10.4