AnsweredAssumed Answered

update map item in app config

Question asked by wgsl on Nov 10, 2016
Latest reply on Nov 10, 2016 by wgsl

Hello, I want to update the map service for our application built from WAB. I assume this can be done from the app config, and codes for the map object from the app config are below. However, the new map service is hosted on our arcgis server and hasn't been added to the portal, so don't have an itemId. How to update the map with new map service? can this be done via editing the app config?


"map": {
"3D": false,
"2D": true,
"position": {
"left": 0,
"top": 0,
"right": 0,
"bottom": 0
"itemId": "123123131453254311142122",
"mapOptions": {
"extent": {
"xmin": -10783539.09057307,
"ymin": 3864696.7268318874,
"xmax": -10771213.619762102,
"ymax": 3872101.563947004,
"spatialReference": {
"wkid": 102100
"id": "map",
"portalUrl": ""