Hi All,
Hopefully this isn't something I've just missed!
It seems the default view for pop-ups is alphabetical rather than attribute order. To me it makes more sense to have the default order as attribute order - I'm sure most people creating features apply a logical approach to table design - and having to completely reorganise the pop-up is frustrating. Can the default order be changed to attribute order? Thanks,
Jamie
@SunshineCoastCouncil I am not sure what the setting options are for a custom web app, but if you use Experience Builder, the map should maintain the pop-up you created in the Map Viewer (you will need to turn on the pop-ups in the Map widget settings). You can also add a Feature Info widget which can either use the pop-up you created in map viewer or you can customize the feature info widget to show the fields you want in whatever order you want. I hope this helps.
My opinion
Map Viewer is how you configure and control the pop-ups and the order of the items you see in them. If you don't bother to configure pop-ups at all, alphabetical ordering seems like a reasonable default to me.
I'm thinking at a minimum, and especially if you authoring maps/apps for others to use in your organization or publicly, you are going to want to omit some fields and change the display name for other fields, or format numbers. While doing that, re-order as desired. Or better yet, take it to the next level and use text elements with text and fields to make a more readable, understandable, information display rather than just a list of attributes.
Lots of additional info and examples here: https://www.esri.com/arcgis-blog/?s=#pop-ups&
In my opinion:
In ArcGIS Pro is where you define the best field order and aliases before you even serve up the layer. You do it once to be applied everywhere it's used. It is this that Esri is not honoring by alphabetizing things.
I completely agree with @Heather_Hegi ... the desktop environment is where the schema considerations are done. Do once, apply many times.
At the minimum, provide an option/checkbox for displaying the field list in the default schema order.
@BernSzukalski, the main point is you spend quite a bit of time configuring your database so that it flows in a logical way - to only then have to redo that order for every map/app (which could be hundreds) is unacceptable to be the default. Sure, the option to sort alphabetical if desired is great, but not what most would expect to be default.
@BernSzukalski
I'm all for creating popups that are enjoyable to lookup by using custom text, but that's not going to be used in all cases, maybe not even the majority. There are several times where I want a simple list of attributes that flow in a logical order, which has already been done at the feature layer or service level.
Having to scroll up and down the fields list to re-order attributes back to that logical order is a waste of time, not to mention frustrating when I've already taken the time to do it and then have that order ignored.
@mpboyle Apologies then, I have misunderstood. It seems the crux of your issue is that when publishing from ArcGIS Pro to ArcGIS Online, what you have in Pro is not what you get in the feature layers in ArcGIS Online. Is that correct?
@BernSzukalski
Whether it's a feature service published from ArcGIS Server or a hosted feature layer on AGO, the fields list popup defaults to showing attributes in alphabetical order, rather than respecting the order of the service.
Below are examples. The second example is for a commercial building hosted feature layer. All the fields at the beginning (top) of the service order have to do with the associated parcel (parcel identifier, address, owner, class, etc...). Those fields are scattered throughout the default fields list popup and I have to manually re-order the attributes to get them back in the desired order.
ArcGIS Server (feature layer service) --- service field order on left, default fields list popup on right.
ArcGIS Online (hosted feature layer) --- service field order on left, default fields list popup on right.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.