Hello,
I have been quietly living with a problem for many years and I'm finally sick of dealing with it. In my publishing document (Arc pro 3.1.1 in this case but it's happened in many versions of both Map and Pro), I take all the time to group together features by symbology to make them easier for end users/the public to interpret in the legend (GroupedInSymbology.jpg). When I add my published features service to a web map via REST endpoint, the legend looks as it should (GroupedInWebMap.jpg). But whenever grouped symbology layers like this are consumed in a web app (In this case Experience Builder 11.1 dev edition, but again I've had the same problem in ExB 1.7, 1.9, and various versions of Web AppBuilder), the software maintains the legend symbology but ungroups the values. The resulting list is very confusing because it does maintain the appropriate label, except each value gets the same label, so there are multiple entries of a particular label, all with the same symbol (UngroupedInWebApp.jpg).
As I said this has stumped me for a long time. Does anyone have any idea why this happens or if anything can be done?