Select to view content in your preferred language

Edit Widget Error

236
5
07-21-2025 11:48 AM
SaraWazir
Occasional Contributor

Hello,


I am using the edit widget to allow users using the application to update the data if it is not correct or empty. 

I have a field called Category and I generated a list for the domains in AGOL. Since I created this list, the edit widget now has an error that pops up. For example, one of the variable it contains is called "Regional Corporation". Even though this is populated in the data, it says it is out of range for its domain. See attached screenshots. Anyone know how to fix this? Thank you!



SaraWazir_0-1753123406122.png

SaraWazir_2-1753123656244.png

 

 

 

0 Kudos
5 Replies
AlixVezina
Esri Regular Contributor

Hi  @SaraWazir ,

I usually see this kind of issue when the value that was written into the field originally (maybe, for example, values were typed into the field before the domain was actually created?) and do not match the domain code.

You may need to recalculate your field values by category and make sure you are writing in the domain code rather than the description.

 

0 Kudos
SaraWazir
Occasional Contributor

Yes, you are right. The feature layer and its associated related records had been uploaded into ArcGIS Online. And after the upload, I created the list values for each field. I have many fields in my data.

How do I fix this now? Is there a solution or workaround?

0 Kudos
AlixVezina
Esri Regular Contributor

You'll need to recalculate your field values by category and make sure you are writing in the domain code rather than the description. You can do this using Field Calculate in ArcGIS Pro or in ArcGIS Online.

0 Kudos
sondickerson
Occasional Contributor

Is it possible that the value in the list (or the table column) have leading or trailing spaces?  Check for that.

SaraWazir
Occasional Contributor

no spaces, I checked for that!

0 Kudos