thank you for taking the time to read this post and contemplating potential solutions for the same:
Situation. We have a web app builder 1.1 - the application consumes a map on a portal 10.1. We made changes in the past and used download button to get the latest code and publish to the servers. It was working fine.
Recently, we made modifications to the portal server that contained the main map that resulted in modifying the itemId value in config.json -
To start with, we had changed the itemId value of config.json file in the web app builder environment to use the same underlying map from the portal - but with the new ItemId.
Now problems encountered are as follows:
1. when we download from a working WAB for deploy - downloaded code remembers the old itemId and not the new one even though the code folder under the WAB folder structure has the new itemId in config.json. So we had to manually change the itemId everytime before copying the contents from the download zip/unzip folder to the server location.
2. Any new widgets that were create after the 'itemId' change are not showing in the published app on the server but not on the WAB launch menu.
any input to resolve our current situation would be great.