I have an AGOL web map that is pointing to a feature service. I want to redirect that same map to a different data source, the new data source has the same structure but I just want to source the data differently - how can I do this? thank you in advance
Hi nancy vonmeyer,
HTH,
Egge-Jan
I have to dive into the JSON to update where the map points? Do you think I manage that intuitively or am I stepping into deep waters here? obviously building the web map and all the popups and cartography is the time consuming part so I would really prefer to be able to just redirect the map to a new data source.
Oh yeah, deep waters. Definitely! The ArcGIS Online Assistant will warn you when you dare to edit an item's JSON:
You are about to directly modify the contents of an item. Do not proceed unless you are absolutely certain of the risks.
See also screen capture below. So, don't try this at home if you don't dare. And - very important - don't blame me if things go wrong... 🙂
But all that said, I do think it is doable... and it will save you the tedious work with all the popups and cartography stuff.
Above you state
the new data source has the same structure
so let's suppose only the URL and the item id are different (and all the rest is the same).
Steps to take:
It might work (and save you a lot of work). Please let us know how it worked out.
Cheers,
Egge-Jan
Thank you Egge - I will give it a roll, nothing to lose
Worked for me. Thank you.