Is there a way to remove layers from a legend within the print widget result in experience builder? I have a use case for making a static map online using the print widget. In Web App Builder the print widget honored layer visibility set in the legend widget. Now layer visibility for the legend is set in the map viewer but it is not honored in the print result legend.
Screenshot of legend widget
And here is a screenshot of the legend in the print result
I'd like to be able to remove the railroad and centerline layers from the print result legend just like in the legend widget.
Hi @AnnaEssington ,
Which version of Experience Builder do you use? I have tested on ArcGIS Online and if the layer is set to not show in the map legend, it is not included in the print result legend.
This is how I set it in the Map Viewer:
Regards,
Shengdi
Hi @ShengdiZhang ,
We are on Enterprise 11.3. I did some testing in ArcGIS Online and was able to recreate the error. The error occurs when I use a map service with multiple layers instead of just bringing in an individual layer from the map service.
Legend widget in experience builder:
Legend in the print result:
I'm having the same problem, referenced map image services with multiple layers seem to be all or nothing in the printed legend, it does not honor "Show in map legend" on/off for the individual layers within the service. It will honor "Show in map legend" for the service as a whole. The legend widget functions as expected, this only occurs in the print result legend using our custom print service in Experience Builder.
In WAB we could always control what was displayed in the printed legend, using this same print service. This is important for our users, there are many layers labeled/symbolized accordingly on the map that do not need to be taking up space in the legend especially those with many unique values.
If I add the layers to Map Viewer individually by url the print legend works as expected but I lose some of my label placement settings from Pro like limitations on overrun feature or repeat labels. It seems I would need to publish these layers as a stand alone services with one layer per service and then group them in Map Viewer? That would be a huge task for us.
We're on Enterprise Portal 10.9.1, using ExB Developer Edition 1.19 downloaded yesterday. All of our map services are referenced.