PROBLEM

The sorted coded value domain is not retained in the ArcGIS Pro Domains view

Last Published: February 11, 2022

Description

In ArcGIS Pro, sorting the coded value domain (code or description) in the Domains view and checking the 'Save sorted order' check box fails to retain the new order. Clicking Save The Save icon. after checking the 'Save sorted order' check box returns the original order of the coded value domain.

The image below shows the code values are sorted in ascending order and the 'Save sorted order' box is checked.

The Domains view showing the code values are sorted in ascending order and the 'Save sorted order' box is checked.

The image below shows the original order of the code values is returned after clicking Save.

The Domains view showing the Save button returns the original order of the code values.

Cause

This is by design. The 'Save sorted order' option does not retain the modified coded value domain order in the Domains view.

Solution or Workaround

To sort the code or description of a coded value domain in either ascending or descending order, use the Sort Coded Value Domain tool.

  1. In the Geoprocessing pane, navigate to Toolboxes > Data Management Tools > Domains > Sort Coded Value Domain.
  2. Fill in the tool parameters. Refer to Parameters for more information. In this example, the Code value of the Type domain is sorted in ascending order.
The Sort Coded Value Domain Geoprocessing pane.
  1. Click Run to run the tool.
  2. Open the Domains view to view the sorted coded value domain. The image below shows the Code value of the Type domain is sorted in ascending order.
The Domains view with the Code value for the Type domain sorted in ascending order.

The sorted coded value domain is reflected in the attribute table when selecting the code values from the drop-down list of the field assigned to the domain.

The drop-down list displaying the sorted coded value domain.

Article ID: 000027179

Software:
  • ArcGIS Pro 2 8 x
  • ArcGIS Pro 2 7 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