ERROR

The custom feature service submission url is not compatible with this survey (Unsupported relationship type esriFieldTypeGlobalId in key field GLOBALID for table GLOBALID)

Last Published: April 27, 2022

Error Message

In ArcGIS Survey123 Connect, attempts to publish surveys using feature classes with related tables and attachments fail, and return the following error message:

Error:   
The custom feature service submission url is not compatible with this survey (Unsupported relationship type esriFieldTypeGlobalId in key field GLOBALID for table GLOBALID)
The returned error message.

Cause

The following are possible causes:

  • The GUID relationship fields include different names in the primary feature layer and secondary table.
Note:
The GUID field cannot be the GlobalID field.
  • The label name for each side of the relationship is different.

Solution or Workaround

  1. In ArcGIS Pro, log in to the ArcGIS Online organization account.
  2. Add the feature class and table without relationship classes, global IDs, or attachments. Refer to ArcGIS Pro: Get started editing for more information.
  3. In the feature class, open the attribute table, and click the Add Field icon to add a new GUID field. In this example, the new GUID field is named GUID.
The attribute table window with the new GUID field to be added to the feature class.
  1. Click Save.
  2. Repeat Steps 3 and 4 in the table with the same field name.
  3. On the top ribbon, click the Analysis tab and click Tools.
    1. In the Geoprocessing pane, search for and select the Create Relationship Class tool.
    2. In Parameters, select the preferred options for the Origin Table, Destination Table, Relationship Type and Message Direction sections.
    3. Select the One to many (1:M) option for Cardinality and the GUID fields for both the Origin Primary Key and Origin Foreign Key sections.
    4. Click Run.
The Create Relationship Class Geoprocessing pane.
  1. In the Catalog pane, right-click the feature class. Click Manage > Add Global IDs.
The Catalog pane to add the global IDs to the feature class.
  1. Repeat Step 7 for the table.
  2. In the feature class, open the attribute table once more. Right-click the new GUID field, and click Calculate Field.
  3. In the Calculate Field pane, select the GlobalID field. Click Run.
The Calculate Field pane to copy the global IDs to the new GUID field.
  1. In the Catalog pane, right-click the feature class. Click Manage > Enable Attachments.
The Catalog pane to enable attachments to the feature class.
  1. Repeat Step 11 for the table.
  2. Publish the feature layer to ArcGIS Online. Refer to ArcGIS Pro: Share a web feature layer.
  3. In ArcGIS Survey123 Connect, create a new survey based on the published feature service in Step 13. Refer to ArcGIS Survey123: Generate a survey from a feature layer.
  4. Publish the survey.

Article ID:000025412

Software:
  • ArcGIS Survey123 Connect
  • ArcGIS Pro 2 7 x
  • ArcGIS Pro 2 x

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

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options