Select to view content in your preferred language

How is Collector sorting symbology?

1019
3
Jump to solution
02-26-2013 06:15 PM
PeterTimmers
Frequent Contributor
I have a field with a coded domain with  "High, Medium and Low".

I apply symbology in my MXD and they appear as High Low and Medium (alphabetically) and I change it to High Medium and Low.

Then in collector they appear as Low High and Medium??!

I can never get consistent sorting out of it.   In ArcGIS Mobile it's always alphabetical and I add 1,2,3 on the front to force it... but with Collector this makes no difference.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RussRoberts
Esri Notable Contributor
Can you check the rest endpoint for this layer and see how the domains are sorted under types. We currently mirror that sorting in teh app today.

Cheers
Russ

View solution in original post

0 Kudos
3 Replies
RussRoberts
Esri Notable Contributor
Can you check the rest endpoint for this layer and see how the domains are sorted under types. We currently mirror that sorting in teh app today.

Cheers
Russ
0 Kudos
MattReeves
Regular Contributor

Good Afternoon Russ,

How are the domains under 'Types' at the rest end point sorted? I assumed it was related to the Coded Domain value, but I went through and manually re-coded our domain descriptions to alphabetically line up with an ascending coded value. At the rest end point under Types I am still seeing the same sorting as before.

Thanks,

Matt

0 Kudos
RandyBurton
MVP Alum

As Russ is suggesting, you need to look at the types section in the feature's JSON file.  Getting domains to sort (and stay sorted) in collector has been so frustrating, that when I publish a feature layer I add a step to resort items in the types section.  I use the REST API to do this, and I briefly describe my process here: Feature type sort order in REST API using Python.

0 Kudos