I created a workspace, a store and some layers on GeoServer. Then I created a layer group and added a few layers. When I try to load a specific layer on QGIS I use the following URL:
and everything works fine, I do the connection and is listed only the layer I want and not the whole service layers. Now I want to do the same for a layer group, I want that only a specific layer group be listed when I click on connect button. However, if I do the same as above:
it gives an error.
In OpenLayers, the layer group is correctly loaded when I do the layer preview in GeoServer, and the resulting URL is the following:
but using this URL on QGIS when loading the service, the whole service layers are listed and not just the group layer I want.
How can I restrict to a layer group when loading a WMS service into QGIS?