We have an application developed in version 1.4 of Web AppBuilder for Developer. The application includes a number of custom created widgets.
We are now trying to alter the source of the ArcGIS Online map that is used in the application. When trying to load the app in Web AppBuilder for Developer (version 2.13), we get an 'invalid app' error, so the map source can not be set that way.
We have also tried altering lines 221 and 234 of config.json so that the map 'itemID:' and 'portalUrl' reflect our map and ArcGIS Online information, respectively. However, when viewing the application in a web browser it throws the type error 'Cannot read property 'portalURL' of undefined error, as well as the Uncaught TypeError: 'Cannot read property 'setAttribute' of undefined at setTiles'.
Does anyone have any ideas on how to correct these errors?