I needed to make changes to the JSON of an existing web map that is part of a web app. Before replacing it, I want to test the JSON changes on a new web map.
The new web map is a near duplicate the replacement--including its data sources, published services, and the layer ID. The main difference is in the itemIDs it uses to reference several feature layers.
The Web App uses a lot of configured widgets including different Searches, Group Layers, and the eSearch widget. I don't want to have to re-do any of those. Is there an easy location within the Web App's JSON I can change to point to the new web map instead?
Solved! Go to Solution.
You can define the new web map id by changing it in the app config.json file. Look for the itemId value found under the map object.
You can define the new web map id by changing it in the app config.json file. Look for the itemId value found under the map object.
Thank you! I had been searching for where the map's itemID was but just couldn't locate it.
In retrospect, I suppose I could have used ctrl+f to and searched for the map's item id...