Real-world Problem: To stay organized and consistent across web maps, we want to take advantage of the new Group Layer items to keep our most essential reference layers together and use the layers of these Group Layer Items for impact analysis.
What are Group Layer Items?
Blog: Group Layer Items: A new way to build and share content (esri.com)
Doc: Organize layers (Map Viewer)—ArcGIS Online Help | Documentation
Example: a35825 - Minimum Essential Dataset (MED) Base Data for US&R - Overview (arcgis.com)
Technical Problem: Group Layer Items cannot be accessed by the NearMe Widget in Experience Builder (ArcGIS Online).
In this web map, the Incident Data group were made in the web map but not saved as items. The "MED" Groups for Live Feeds and Base Data highlighted below are Group Layer Items added to the web map.
Copy of Web Map with Group Layer Item retained: COPY OF ace40c Sandbox v9 Intel Manager 2.0 Web Map (arcgis.com)
Original Web Map that I will ungroup the item to fix (hopefully): https://www.arcgis.com/apps/mapviewer/index.html?webmap=79bb4e40e36b4423b3db81a7adace40c
Experience Builder NearMe configuration, note the layer groups made in the web map (but not saved as items) load and are accessible, but the Group Layer Items highlighted above do not show up here.
Hi @PaulDoherty2 ,
The Group Layer item type is not yet supported as a data source in Experience Builder but is on the roadmap. We'll keep you posted with any updates.
Workaround for now:
Ungroup the item in the web map
This allows the layers (or groups within) to be accessed by the widget.
This not ideal because now I broke the connection between the group item and this web map, but should buy us some time until Group Items are fully supported.
Thank you @AlixVezina
WARNING: If you try to "regroup" these layers, they disappear from the configuration and essentially blow up the widget, so don't do that.
I have grouped layers in my Utility Locator ExB. I simply open the group dropdown from the widget config and add the layers I want to return from the search.
@DavidColey You're correct, it looks like there is a bug with Near Me specifically. We're looking into it. Thank you!