Frequently asked question

Why does an attachment table of a feature class without the GlobalID field cause errors?

Last Published: April 25, 2020

Answer

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.

Screenshot of an attachment table with the REL_GLOBALID field highlighted

Otherwise, the attachment table is created with a REL_OBJECTID field from the ObjectID field of the feature class.

Screenshot of an attachment table with the REL_OBJECTID field highlighted

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.

Article ID: 000015632

Software:
  • ArcMap

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options