HOW TO

Apply the coded value domain description to a field in ArcGIS Pro

Last Published: September 15, 2022

Summary

In ArcGIS Pro, the description of a coded value domain can be applied to multiple records within a field at a time using the Calculate Field tool. In this scenario, a domain with the following attributes is assigned to the attribute table:

Domain properties
Domain NameField TypeDomain Type
Education LevelTextCoded Value Domain
The attribute domain properties table
Domain code values and descriptions
CodeDescription
1College or University
2High school
3Junior high or middle school
4Elementary school
The list of domain codes and the description for each code
Note:
The field type of the feature class attribute table must match the field type of the domain.

The instructions below describe how to use the Calculate Field tool in ArcGIS Pro to apply the coded value domain description to a field in ArcGIS Pro.

The image below shows the Schools_all attribute table with the incorrect field values.

The Schools_all attribute table with the incorrect field values

Procedure

  1. In the Contents pane, right-click the feature class and click Attribute Table to open the attribute table of the feature class.
Opening the attribute table of the feature class from the Contents pane
  1. Highlight the records where the coded value domain descriptions must be changed.
  2. Click Calculate to open the Calculate Field tool.
Note:
Refer to ArcGIS Pro: Calculate Field (Data Management) for more information on the parameters in the Calculate Field tool.
  1. In the Calculate Field dialog box, configure the following parameters:
    1. For Input Table, select the feature class.
    2. For Field Name (Existing or New), select the field to be edited. In this example, LEVEL is selected.
    3. For Expression Type, select Arcade.
    4. Specify the domain code value in the Expression section. In this example, 4 is used to change the field value from Elementary to Elementary school.
    5. Click Verify to run a test of the expression. If the expression is valid, click OK.
Part of the feature class attribute table and the Calculate Field tool pane with the parameters to be filled

The image below shows the Schools_all attribute table with the updated field values based on the coded value domain description.

The Schools_all attribute table with the updated field values based on the coded value domain description

Article ID:000028121

Software:
  • ArcGIS Pro 3 0
  • ArcGIS Pro 2 8 x
  • ArcGIS Pro 2 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options