Select to view content in your preferred language

Experience builder hide layer from legend in print result

353
2
04-22-2025 02:32 PM
Labels (1)
AnnaEssington
Occasional Contributor

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

AnnaEssington_0-1745356729384.png

 

And here is a screenshot of the legend in the print result

AnnaEssington_1-1745356784881.png

 

I'd like to be able to remove the railroad and centerline layers from the print result legend just like in the legend widget. 

 

 

 

0 Kudos
2 Replies
ShengdiZhang
Esri Regular Contributor

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:

ShengdiZhang_0-1745459644788.png

Regards,

Shengdi

0 Kudos
AnnaEssington
Occasional Contributor

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:

AnnaEssington_0-1745847074001.png

 

 

Legend in the print result:

AnnaEssington_1-1745847119194.png

 

 

0 Kudos