HOW TO

Reorder values in a domain list across pages in ArcGIS Online

Last Published: March 10, 2026

Summary

In ArcGIS Online, a domain list containing more than 20 values is automatically divided into pages of 20 records in the 'Manage domain' window. By default, domain values cannot be dragged across pages (for example, from page 1 to page 2). Drag-and-drop reordering is supported only within the current page.

Domain list with 20 values in the Manage domain window

In this example, the domain values Submitted and Archived are in the incorrect order.

Misordered domain values

This article provides the workflow to reorder the domain values across pages in ArcGIS Online.

Procedure

Click Reorder full list to reorder the domain list

Following the February 2026 ArcGIS Online update, a new function allows access to all domain values for reordering across pages. When editing a domain list in the Manage domain window, click Reorder full list and drag the values to the desired order. Refer to ArcGIS Online: Edit a domain list for more information. In this example, Submitted and Archived are dragged to reorder the values.

Reorder the values in a full list in the Manage domain window

Reorder domain values from the hosted feature layer REST endpoint

Warning:   
The instructions below involve modifying essential components of the hosted feature layer. Esri recommends making a copy of the original JSON before proceeding. 
Esri cannot guarantee the results of incorrect modifications made while following these instructions. Proceed with caution. Any issues resulting from these modifications are not supported by Esri Support Services.
  1. In ArcGIS Online, navigate to Content > My content.
  2. Browse to the hosted feature layer and open the item page.
  3. On the Overview tab, scroll down to locate the URL section.
  4. Click View View icon to open the layer's REST endpoint window.
  1. In the ArcGIS REST Services Directory window, click Admin.
  2. Under Layers, click the layer.
  3. Scroll down the page, and under Supported Operations, click Update Definition.
Click Update Definition
  1. In the Update Layer Definition text box, search for the "codedValue" parameter. To reorder coded value domains, cut and paste the JSON entries in the desired order. In this example, the positions of Archived and Submitted are swapped.
Cut and paste the JSON entries to reorder the domain values
  1. In the Update Layer Definition text box, search for "lastEditDate" and replace the value with null.
Replace the lastEditDate value with null
  1. Click Update Layer Definition.

Edit the domain list in a CSV file to reflect the correct order

Reorder the domain values in a comma-separated values (CSV) file to the desired order before importing the values into ArcGIS Online.

Select Import values to import values from a CSV file
Note:
Alternatively, export and download the hosted feature layer for editing in ArcGIS Pro. Use the Sort Coded Value Domain tool in ArcGIS Pro to sort the domain values alphanumerically in ascending or descending order before republishing the layer to ArcGIS Online.

The domain lists below show that the domain values are reordered across pages in ArcGIS Online.

Domain list reordered correctly

Article ID: 000039242

Software:
  • ArcGIS Online

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options