GUIDs vs. GlobalIds
When creating a GUID field in an ArcGIS feature or table, two options exist:
-
Creation of an attribute with the data-type of GUID (recommended).
-
Generating a GlobalID for an ArcGIS feature or table (not supported).
Using GlobalIDs in relational data models is not supported.
CartoPac supports relationships through GUIDs but does not support relationships through the use of any field that is automatically populated in a database such as GlobalIDs. When creating a GlobalID field for an Esri geodatabase, a new field will be appear with populated GUID values in the column. If CartoPac were to use a GlobalID for relationships, then one GUID value would be automatically created by CartoPac on the mobile device and relationships may be created off this record. When the record is uploaded, Esri's software would automatically overwrite the created value for the CartoPac GUID with an auto-generated GUID at the time of the record's insertion to the geodatabase. For this reason, CartoPac does not support the use of ArcGIS GlobalIDs for use in data relationships.