AnsweredAssumed Answered

Disable PopUp - Layer Cannot Be Added to Map

Question asked by bcollins@mt.gov on Jun 26, 2018
Latest reply on Jun 27, 2018 by bcollins@mt.gov

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...

Outcomes