laptop and a wrench

Bug

When adding the domains to the hosted feature layer created through the ArcGIS QuickCapture project in Portal for ArcGIS, the following error message is returned, "There was an error."

Last Published: May 28, 2020 Portal for ArcGIS
Bug ID Number BUG-000131018
SubmittedMay 20, 2020
Last ModifiedJune 5, 2024
Applies toPortal for ArcGIS
Version found10.8
Operating SystemWindows OS
Operating System Version2019 64 Bit
StatusNon-Reproducible

Additional Information

The issue is not reproducible in ArcGIS Enterprise 11.2.

Workaround

Open Dev Tools, and click 'Save' when editing the domains. Copy the 'updateDefinition' parameter from the Form Data header, for example:

updateDefinition: {"fields":[{"name":"test","type":"esriFieldTypeInteger","alias":"test","editable":true,"nullable":true,"description":null,"domain":{"name":"Road debris reporter_test_72d8db1c-4b64-45b6-86a8-ecfe0e248607","type":"codedValue","codedValues":[{"code":1,"name":"mydomain"}]}}]}

Go to the Server admin endpoint of the feature service and select the 'updateDefinition' operation:

https://myportal.com/server/rest/admin/services/Hosted/Road_debris_reporter_102d529a746d4386afccac0ebae6e765/FeatureServer/0/updateDefinition

Paste the 'updateDefinition' string copied from the Form Data parameter and click Submit. This works fine, and the changes are reflected upon refreshing the Item Details page of the hosted feature layer.

Steps to Reproduce

Bug ID: BUG-000131018

Software:

  • Portal for ArcGIS

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options