Allow ArcGIS Pro to sort Coded-Value Domains with special characters

786
4
10-20-2021 06:44 AM
Status: Closed
Labels (1)
GregWolowich1
New Contributor III

I have a coded-value domain with single quotes (') used within the domain value.  When editing in ArcPro I was unable to sort the field using that domain. I would like to see coded-value domains permit sorting on fields using domains with special characters such as single quotes.

Thanks,

Greg

4 Comments
KoryKramer
Status changed to: Needs Clarification

Thanks for submitting this idea @GregWolowich1 

When you say "When editing in ArcPro I was unable to sort the field using that domain," can you clarify if you mean you're trying to sort the field:

KoryKramer_0-1634908050615.png

Or are you looking for the domain picklist to be sorted differently?

KoryKramer_1-1634908089894.png

If the latter, you could sort the domain and save the sorted order:

KoryKramer_2-1634908199228.png

But from your description it sounds like you're not seeing the sorting order you expect when sorting the field itself.  Can you provide screenshots and some examples of the domain values containing single quotes?

Thank you.

GregWolowich1

Hi Kory,

The domain picklist is in the correct order. It is the values in the table that will not sort property. If I uncheck "show domain and subtype descriptions" the values sort properly. 

GregWolowich1_0-1635278125070.png

But when it is checked I cannot sort the values in the field, as you can see in the screen shot below. I was told by the support technician this is by design and not a bug.

GregWolowich1_1-1635278244074.png

Thank you!

Greg

 

KoryKramer

Thanks for that detail @GregWolowich1 .  I'm not convinced that this isn't a bug and am checking on our side here.  Will follow up when I have more info.

Thank you

KoryKramer
Status changed to: Closed

This has been logged as [BUG-000144153: Hosted feature layer fields with apostrophe characters (') in domain codes and descriptions sort incorrectly in ArcGIS Pro 2.8.2] 

If you are experiencing this issue, the bug should be available on support.esri.com shortly - use the Subscribe button to be set up for notifications and increment the count of affected customers.

Thank you!