Select to view content in your preferred language

Change attribute field order in Map Viewer Editor window

1027
3
06-10-2024 12:33 PM
Status: Open
tschulzke
Occasional Contributor

In Map Viewer Classic, the attribute field order for a layer's pop-up is maintained in the editing window as well, which seems to be a natural and logical behavior, because if you wanted the fields to be viewed in a particular order, it stands to reason that you would want to edit them in the same order (it provides consistency and predictability when the attributes are ordered the same in both views).

tschulzke_0-1718047724278.png

In the new Map Viewer, however, the attribute field order in the Editor window follows the order of the layer's original attribute table, not the order configured in the attributes pop-up. There appears to be no option for re-ordering the attribute fields for the Editor window, including moving columns in the layer's attribute table.

tschulzke_1-1718047775995.png

As mentioned above, the logical behavior for ordering attribute fields is that they are the same in the pop-up as they are in the editing window. In other words, I can't think of a scenario where you would want those two views to be different, but even if you did, there is no way to configure the Editor window field order. That said, either option/scenario (Editor window mimics the field order configured in the attributes pop-up OR Editor window field order can be custom configured such that it differs from the layer's original attribute table and from the attributes pop-up) would be better than the current limitation.

Tags (3)
3 Comments
EmilyGeo

Hi @tschulzke

Creating a form is one way to order the fields for the editor window. In Map Viewer we separated the pop-up authoring experience from the form builder so that map authors have the option to author pop-ups and forms as separate entities, where as the pop-up was the basis of the form in Map Viewer Classic. 

To access the form builder, select the editable layer and click the Forms button in the toolbar on the right. 

EmilyGeo_1-1718050626251.png

For more information on configuring forms in Map Viewer, check out this article. 

 

 

 

ACrateau

Hi @EmilyGeo ,

Thank you for this response, the Forms functionality is great, but is tied to each web map.  I think @tschulzke 's idea is still valid if you have an enterprise layer in many web maps, and need to update the field order globally. 

EmilyGeo

Hi @ACrateau ,

Thanks for your comment. That brings up a good point. Forms are not necessarily tied to one web map. In fact you can use the same form across multiple web maps in the following ways:

1. Save the Form to the Layer:

  • By saving the form to the layer, the form appears with the fields in the same order every time you add the layer to a map. This ensures consistency and saves you from recreating the form for each web map.

EmilyGeo_0-1732129664678.png

 

2. Create Templates:

  • Creating templates allows you to set the order of fields as well as default values for each template.Templates are associated with the layer, so whenever you add that layer to a map, the templates appear automatically. This maintains field order in the editor window as well.

 I hope this helps!