I'm just curious what people have done to work around the issue when you create a map service and configure the pop-ups and styles through the flex viewer application and then you want to add a new layer in the middle of your operational layers? After adding the new layer in the middle of everything, my layers display is all messed up shifting everything up one or down one.
For a while I would use the flex viewer application builder and delete my operational layers and then go back in and include all the operational layers from the my rest services. I would have to reconfigure my pop-ups and other settings. It would take a very long time.
Then I got the idea to go into the configuration file for the map and just change the layer number to reflect what the newly published rest services said. But I'm wondering if someone has made a script or an easier work-around than that? Does ESRI have a better solution?
For a while I would use the flex viewer application builder and delete my operational layers and then go back in and include all the operational layers from the my rest services. I would have to reconfigure my pop-ups and other settings. It would take a very long time.
Then I got the idea to go into the configuration file for the map and just change the layer number to reflect what the newly published rest services said. But I'm wondering if someone has made a script or an easier work-around than that? Does ESRI have a better solution?