I am adding feature layer to the WAB programatically using "map.addLayer("layername") the layer is successfully getting added to the map but it is also adding to the LayerList widget..
and similiarly while removing i am not able to remove it using map.removeLayer as it prevails in layer list widget.
is there anyway i can resolve it and layer list widget dont get involved.
Any help on this highly appreicated
Thanks
Ash