Wondering where/how in the WAB code I can disable the popup "The Layer, (all the layer names), cannot be added to the map". I've found where it's called from (\jimu.js\nls\main.js and jimu.js\MapManager.js) but if I simply comment out the associated function and lines then the app breaks.
Essentially I'm just trying to remove the warning so that it doesn't pop up as an annoyance to end users, particularly because the list will show over 50 layers for any given user. Just looking for a relatively low-tech solution that'll fit the bill.
Thanks...
Solved! Go to Solution.
Brian,
Comment out the contents of the _showUnreachableLayersTitleMessage function (not the whole function just the functions contents).
Brian,
Comment out the contents of the _showUnreachableLayersTitleMessage function (not the whole function just the functions contents).
Thanks Robert! Worked like a charm.