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

1057
1
05-31-2017 10:10 AM
NadiaTargulian
New Contributor II

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

0 Kudos
1 Reply
NadiaTargulian
New Contributor II

The solution is to control the On/Off  group behavior from the MXD (suggested by KevinMcLeod ) .

0 Kudos