Select to view content in your preferred language

Enable / Disable All Layers as a whole and within Layer group in ExB Map Layer Widget

1920
8
01-31-2024 05:23 AM
Status: Open
Labels (1)
DNMCSCADA
Occasional Contributor

Hi Community,

It will be a great boon if there is an option to switch on or off All the layers in the layer widget, just like when you Control + click in ArcGIS Pro for enabling/disabling all the layers globally or within a Layer group.

Currently, we are developing a solution in ExB which has 300+ layers in multiple groups. Normally we keep these layers disabled, but when it is time to enable them, we have to manually enable every one of these, which is very time-consuming, so it will be a nice addition to layer management as a whole.

 

Regards

8 Comments
TheRrrr42

Kudos on this,

I would also like some sort of click and drag or CTRL click to select and toggle multiple layers at a time. While not a perfect solution if you use the bookmark widget it will save the layer visibility options. The downside is that it will move the map widget back to the extent of the bookmark. 

MikeEdwards

This functionality was available in WAB.

Thomas1

I posted something similar for almost 2 years ago: https://community.esri.com/t5/arcgis-experience-builder-questions/turn-all-layers-on-off-at-the-same...

Still waiting for a reaction from Esri... Do not have too much hope they will fixed this anytime soon. 

 

And someone else posted this: https://community.esri.com/t5/arcgis-experience-builder-questions/toggle-all-layers-on-off/td-p/1397...

 

MattLayman

Another handy feature that somehow hasn't made it into ExB yet. @TonghuiMing@Shen_Zhang  or anyone else on the ESRI team, do you all happen to have this feature on the ExB roadmap? If not, can it be added?

TonghuiMing

This feature has been provided in the latest AGOL Feb release:

TonghuiMing_0-1740734688888.pngTonghuiMing_1-1740734695150.png

 

Thomas1

@TonghuiMing Thanks for the update.

Nice that this is added this is not really helping in maps with groups as it turns on/off all layers, sublayers, groups from the map. This would be much more usefull if this would change layer visibility only at the "first level" (tick boxes in the far left column, see attached image) and that the turn on/off option would be available for each goup.

Thomas1_0-1740750376512.png

 

 

JohnGargiulo

In our organization we use multiple map layer widgets to organize our layers.  One map layers widget for our multiple location types, one map layers widget for our competitor location types, one map layers widget for our performance by area, etc.  It keeps the map layers organized and user interaction simple. 

It seems this "Turn all layers on", even if the map layers widget is only a subset of all the layers, turns on every layer in the map.  For us, this is over 100 layers.  It seems the way the tool is programmed in ExB (leveraging the "enable layer batch options") does not work well for this design while it worked fine in WebApp Builder.  I can't imagine a workflow where I would ever want to turn on all the layers in a map when only select layers are represented in specific map layers widget.  Am I missing a setting?  

HastingsCountyGIS

Its great that the batch layer options were added in Feb, but it would be ideal if the "Turn all layers on" only applied to the ones present in the specific Layers widget you had open.

Our users were used to this functionality in WAB so its been a point of contention for our new ExB apps.