Select to view content in your preferred language

ArcGIS Pro Attributes Pane: assist user to update values to the correct domain code, when an existing value matches a domain description

535
1
09-18-2025 07:57 AM
Status: Open
Labels (1)
CalvinHarmin
MVP

If a value of a field is the 'description' of a domain instead of the code, both the Attributes Table and Attributes pane will be unable to 'change' the invalid domain code (if it's the same as the description of a domain value), unless the value is switched to something else, and then can be switched to the valid domain choice.

This is confusing to many users because they 'see' they already have the correct value from the domain pick-list, at least apparently. I am asking for a better visual indication / helpful warning / one-click-fix for users in this case to correct this issue from the Attributes pane.

I will provide a common example: a domain with code 'Y' and a description of 'Yes':

If the base values of the field with that domain applied is 'Yes' rather than 'Y', the Attributes Pane will show an error that 'Yes' is not a member of the coded value domain, but the pick-list available to them shows 'Yes' and when they select it nothing changes, so the user likely will be confused about what the problem is, unless they are veteran of domain issues and goes to the attribute table and turns off 'Show domain and subtype description' values and diagnose any non-'Y' values from there.

CalvinHarmin_0-1758207233265.png

The main "Idea" I'm proposing here could be something as simple as a warning that "your base value matches a domain description 'Yes', but is not the correct domain code value of 'Y'."

Further: provide a one-click-fix functionality: "Do you want to update this to match the valid domain code 'Y'?"

Maybe even further: "Do you want to update all values of 'Yes' in this table to the valid domain code of 'Y'?"

IMO this is a very common issue, since sometimes domains are applied to data that is already populated with a 'description' value but the user defines a domain after the fact that uses a more simplified code value, or a code value with different character case than the description. 

1 Comment
ZachBodenner

I agree, I've run into this a few times, especially in cases where it's even less clear cut, like when the code and description are supposed to be the same, but one has a spelling error.