Select to view content in your preferred language

Custom Print Service Legend Border and Background are Displayed When "Include Legend" is un-checked

296
5
04-01-2025 07:55 AM
ColForbin
Frequent Contributor

I have a custom print service published from ArcGIS Pro 3.4.2 to Enterprise 11.2.  The print service is working as expected except for the Legend.  When I use this service in a Print Widget tool in Experience Builder, I see the option to "Include Legend".  If I leave this un-checked and run the tool, the legend is not included but the border and background of the legend are.  So there is a white box with a black border with nothing inside.  When the box is checked to include the legend, the legend appears properly as expected.  I see the same behaviour in Map Viewer if I set the custom print service as the default in Organization > Settings > Utility services.

ColForbin_0-1743518856938.png

ColForbin_1-1743518882132.png

 

Is there any way to have the "Include Legend" option not show the border and background of the legend element when it is un-checked?

 

Tags (3)
0 Kudos
5 Replies
MikeVolz
Frequent Contributor

Is this border and background truly part of the legend or are they separate items from the legend used to make the legend more presentable?

Was the layout imported from an previous ArcMap incarnation?

0 Kudos
ColForbin
Frequent Contributor

@MikeVolz  the border and background are configured in the Legend element Display settings in the Properties of the legend on the layout, so I'm assuming they are part of the legend.  The layout was not imported from ArcMap.

0 Kudos
MikeVolz
Frequent Contributor

Have you created more than Experience with the custom Print Widget tool to see if this issue can be repeated?

0 Kudos
ColForbin
Frequent Contributor

@MikeVolz , yes both the default Map Viewer, and Web AppBuilder Print Widget produce same result when Include Legend is not selected.

0 Kudos
ColForbin
Frequent Contributor

I have engaged with Esri support and will report back the results. 

0 Kudos