AnsweredAssumed Answered

LayerList  Group Layer: How to have parent layer "on", sublayers "off"

Question asked by NadiaTar on May 31, 2017
Latest reply on Jul 19, 2017 by NadiaTar

Hi guys,

In the layer list widget

I was wondering if it is possible have a group layer configured in such a way that the primary 'parent' layer would be toggled on load; but the various sublayers would be toggled off.

In my Portal after toggling "off" sublayers for the 'group layer', saving and refreshing the map viewer, you see *all* of the layer items then appear unchecked including parent layer (that is a known ESRI bug for Portal 10.3.1.)

Is there a way to have a parent layer be on programmatically on load of the application?

 

 

 

Thank you,

 

Nadia

Outcomes