Layers in a Map Viewer are suddenly in reversed order

227
3
12-22-2021 01:45 AM
Stefan_Thorn
Occasional Contributor

Hi,

I have made a map (new map viewer) and suddenly all the layers are in reversed order. Reordering the layers and saving the map did not work.

Stefan_Thorn_0-1640166220150.png

This behavior has a relation with this issue.

Cant save online feature layer. - Esri Community

3 Replies
RussellRoberts1
Esri Frequent Contributor

Can you share the map? thanks!

0 Kudos
Stefan_Thorn
Occasional Contributor

Hi @RussellRoberts1,

I have identified the reason why this issue occurs.

I also replied about this in  https://community.esri.com/t5/arcgis-online-questions/cant-save-online-feature-layer/td-p/1125266 in this post:

In Map Viewer with an existing map it gives the error:

Stefan_Thorn_2-1640331503193.jpeg

my experience:

  • when I add an other hosted feature layer, I could save it;
  • but when I renamed this layer I got the error again ;
  • adding again a hosted feature layer, I can save again.
  • trying to save it again without changing, it gives the error again.

Additional, workaround:

  • just adding and new hosted feature layer:
    • Add > choose layer > (+) and than remove it (-) 
    • save map

Doing the steps above in a new map, I can keep saving this map.

  • But as I stated, my layers are in reversed order.
  • Doing the add/remove trick to be able to save the map is also messing up the order of the layers. I noticed that all my (group) layers are in reversed order.
  • Doing add/remove again will put the layers in the right order again.
0 Kudos
RussellRoberts1
Esri Frequent Contributor

Can you share the map and layers with russell_jsapi and I can take a look at the possible issue.

0 Kudos