Hello ArcGIS Community,
I hope everyone is doing well. I’m currently working on a map viewer application and need assistance with creating nested groups of layers.
Sth like this , how could I can accomplish with this fancy approach not nest layer list widget in #WebApp Builder
BR,
Ahmed
Group layers are supported in 4.x ArcGIS JS SDK apps - Map Viewer, Instant apps, Experience Builder are some examples. These support Group Layers and they can be nested. You can also create group layer items to make it easier moving these collections of layers to different maps and apps.
https://doc.arcgis.com/en/arcgis-online/create-maps/organize-layers-mv.htm
https://www.esri.com/about/newsroom/arcuser/a-new-way-to-build-and-share-content-in-map-viewer/
Web App Builder doesn't support grouped layers. However, since you have enterprise, you are probably running ArcGISServer as well. You can group layers in your map/project then publish a MapService in AGS and when added to map viewer (classic or new) it will respect the group layer service.
R-