Select to view content in your preferred language

Uncheck Layers in Layer List Widget?

3149
2
02-01-2016 12:12 PM
JakeCliffton
Emerging Contributor

I would like to create a widget to do this: once it is closed, it will uncheck all the current CHECKED layers in the Layer List Widget (ESRI’s Widget).  I am working inside the onClose: function().  What I was thinking is forEach(myLayers in LayerInfos){ … }, but then have no clue where to start. Do I have to communicate with the Layer List Widget? Any hint will be greatly helpful. Thanks!

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Jake,

   This thread will help:

Webapp Builder Layer List Widget

JunshanLiu
Frequent Contributor