Select to view content in your preferred language

How can I change the order of Domain lists?

757
2
02-06-2020 03:23 PM
DougBrowning
MVP Esteemed Contributor

I keep changing the GDB, then republishing the service, but the Domains never seem to respect the order change.  The field wants the drop downs grouped and I can find no way to make it happen.  

I tried to change the GDB and republish - nope.

I tried rebuilding the entire map - nope.

I tried editing the service definition - nope.

Plus in the domain interface you cannot reorder you must retype them all in.

How can I get the order to be what I want?

Thanks

0 Kudos
2 Replies
by Anonymous User
Not applicable

Hi Doug,

Thanks for the post on this - I was able to reorder domains at this endpoint: https://services<#>.arcgis.com/<OrgID>/ArcGIS/rest/admin/services/<serviceName>/FeatureServer/0/upda..., modifying the steps here to reorder the domains instead of adding a new one: How To: Add coded value domains to a hosted feature service from a REST endpoint 

Hope this helps,

-Peter

0 Kudos
Adam_Bourque
Regular Contributor

Did you ever find out the solution for this? I have to manually re-arrange the list by going to ArcGIS online -- layer -- data tab -- fields then dragging domains here. This isn't too painful, but when you found out there's 50+ to do this for I am hoping to find a way prevent this going forward. I even updated to latest Pro but still has this issue 4 years later.

Adam_Bourque_0-1715805760407.png

 

Thanks!

0 Kudos