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!
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.
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?
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.
Is it possible that the value in the list (or the table column) have leading or trailing spaces? Check for that.
no spaces, I checked for that!