I am updating an ExB app and realized that a layer in one of my web maps is broken.
I was hoping to simply pop open the map in Pro, update the source URL of the broken layer, and re-save to the web map, preserving the symbology, labels etc as they are currently configured. However, when I open the web map in Pro, Pro automatically skips the inaccessible/broken layers, so all my layer properties are bye-bye.
Tried to find a setting in Pro that will force the addition of the broken layer (as would happen with a Pro map sourced to local data) so I can simply update the service URL, but no luck. I'm unaware of a way to do this in Map Viewer, and a search of the community boards came up empty for me as well.
I feel like I'm missing a really simple way to do this, short of resorting to Python (at which point I feel like it's just faster to re-do my symbology, labels etc.)
Solved! Go to Solution.
A couple things I can think of:
Depending on what/where the broken layer came from, you could use Pro to "Overwrite Web Service" and 'fix' the broken layer so that it loads correctly (Overwrite Web Service will keep the original item ID's). You could also use the ArcGIS Online Assistant to on the web map that is feeding the ExB app to Update the URL of the broken service to a valid one.
R_
A couple things I can think of:
Depending on what/where the broken layer came from, you could use Pro to "Overwrite Web Service" and 'fix' the broken layer so that it loads correctly (Overwrite Web Service will keep the original item ID's). You could also use the ArcGIS Online Assistant to on the web map that is feeding the ExB app to Update the URL of the broken service to a valid one.
R_
Thanks so much! I'd forgotten about AGOL Assistant, but that was the easy fix I knew existed and couldn't think of. Just popped in the updated URL and voila, map is fixed. All symbology, labels etc. intact. Took fewer than 5 min; saved me a couple hours' time.
In this case I couldn't overwrite the service since it doesn't belong to me (US historical wildfire perimeters), but that would have been a great option if it did.
Appreciate the quick solution!