Select to view content in your preferred language

Grouping layers in Web App Builder?

4456
2
10-07-2015 01:00 PM
KateGladstein
Occasional Contributor

Hello everyone,

I tried to ask this question back in July but I might not have been clear. I wish I could categorize (group) the layers in my app, as I have 40+ layers to view from 3 distinct geodatabases (Natural Resource, Community, Environmental Assessment).

Currently I can see no other way to display the layers but to list one on top of another, no grouping option, no toggling option, no ability to categorize, not even a css box for the layer list here, if it existed I could find and insert code to organize better. I am stuck with this:

Has anyone had any luck customizing the layer list at all? I wish I had the authorization to enter code to make it look more like this:

So viewers could click on a category to see layers in that classification.

I have found no long-term solutions, in WAB, tech support, or ESRI ideas. We are forced to seek solutions with API for developer now, so if anyone has code that would be applicable in that platform, any help is appreciated.

Thank you!

2 Replies
BrianO_keefe
Honored Contributor

It sounds like a custom widget for the Layer list would be perfection.

0 Kudos
by Anonymous User
Not applicable

https://community.esri.com/thread/190275-group-layers-in-the-layerlist-widget 

Check out this forum for the ability to customize the WAB framework to allow for this.

Additionally, on the 2019 release schedule is native web support to do this in the esri ecosystem.