AGO Web Map Default Ordering in Feature Related Table

4389
7
04-19-2016 11:14 AM
KyleWikstrom
Occasional Contributor II

Is there a way to determine the default ordering when viewing a feature's related records in an ArcGIS Online web map?

The case is that when in Collector viewing a feature's related table, we want to sort the related records by a date field. In the web map pop-up configuration it has a setting to sort based on a field, but when opening this setting for the table, the resulting sort field options are from the feature class and not the table itself.

0 Kudos
7 Replies
TobiasFimpel1
Occasional Contributor III

Hi Kyle,

did you try this: on the pop-up configuration panel for your map layer that has a related table, at the bottom of the panel there's a button "Sort Options". That should let you choose a sort field from the related table.

-Tobias

KyleWikstrom
Occasional Contributor II

Thanks Tobias,

I did get this to work. It's odd, my intuition tells me that tables would be sorted through configuring the table pop-up settings rather than the related point layer.

Thank you for your help!

Kyle

0 Kudos
C_EHoward
Occasional Contributor III

How did you get this to work? I used the sort options in my popup but its not respected. Its a date/time field and they are strange in ArcGIS Online already, in the fact they do not show up correctly, so maybe that is why they are not respecting the default sort order I have set. I will try with another field type to see if its date but sort should work for everything IMO, but then again I think dates should look like dates in a web map too!

KyrreFlege
New Contributor II

Howdy,

I am also having issues with the sort options for related records. Similarly, the sort settings do not do what they're supposed to. In my case i'm trying to sort related records by a date field ascending chronologically. Did you come up with a solution? I'm wondering if it has to do with how the data may or may not be sorted initially before publishing.

0 Kudos
BrandonKrejckant
New Contributor II

This solved it for me! You must do this on the parent feature layer for your related table. If you do this on the related table it does not sort on Collector. Doing this on the feature layer the table is related to, it sorts it on collector 🙂 thank you Tobias!

0 Kudos
by Anonymous User
Not applicable

Hello,

Was anybody able to figure out how to sort the records correctly? I go the sorting options within the main layer, but its like the sort options aren't respected in the popup?

0 Kudos
by Anonymous User
Not applicable

This is also not working for me, the pop-up still shows up in a random order even after the sort is set on the parent table. 

0 Kudos