laptop and a wrench

Bogue

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."

Dernière publication: May 28, 2020 Portal for ArcGIS
Numéro d’ID de bogue BUG-000131018
EnvoiMay 20, 2020
Dernière modificationJune 5, 2024
S’applique àPortal for ArcGIS
Version trouvée10.8
Système d’exploitationWindows OS
Version du système d’exploitation2019 64 Bit
StatutNon-Reproducible

Informations supplémentaires

The issue is not reproducible in ArcGIS Enterprise 11.2.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000131018

Logiciel:

  • Portal for ArcGIS

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement