Print Widget not showing legend using custom print service, has issues rendering layer effects

6189
24
07-03-2022 02:41 PM
andrewdc_tt
Frequent Contributor

I love that the print tool is finally available in Experience Builder, but there are some issues when printing using custom templates. We are using a print service hosted on a server with ArcGIS 10.9.1 and published with ArcGIS Pro.

1 - The legend does not populate at all, even with the 'Show legend' option ticked.

When using the exact same print service and map using the WebAppBuilder print widget, the legend displays with no issues in the print (left is Experience Builder, right is WebAppBuilder).

andrewdc_tt_3-1656883795964.png

2 - Layer effects created in the new Map Viewer (such as drop shadow) do not render properly.

I've found it introduces weird graphical glitches, and labels/symbology seem to be blurry/distorted. The black lines introduced below go away after the drop shadow effect was removed from the map. This problem doesn't seem to be limited to just custom templates however, the default print does this too.

andrewdc_tt_0-1656882953801.png

The default print service won't cut it for us unfortunately because of the map template layouts we need. Are these bugs able to be fixed?

24 Replies
ShengdiZhang
Esri Regular Contributor

Hi @andrewdc_tt 

Can you provide a sample app that includes a map and printing service to reproduce your issue? If you don't want to share the app publicly, you can share it with me (username: she10946) or submit an issue through ESRI Support.

Thanks,

Shengdi

0 Kudos
andrewdc_tt
Frequent Contributor

Hi @ShengdiZhang,

I've replicated a simple map/ dummy data in this experience using the same settings, using this print service. I noticed I wasn't able to replicate the same graphical artifacts in the map again using a drop shadow effect, so maybe that was just a hangover from a specific map/layer configuration. The legend is still absent though however.

Cheers,

Andrew 

0 Kudos
ShengdiZhang
Esri Regular Contributor

I can reproduce your issue using this sample app and we will look into it. Thanks.

andrewdc_tt
Frequent Contributor

Hi @ShengdiZhang, any update on when this will be resolved?

I can see that the same legend bug is also present in Experience Builder Developer Edition 1.9, and it's holding up our app being ready for our users.

Cheers,

Andrew 

0 Kudos
ShengdiZhang
Esri Regular Contributor

Hi, this bug has been included in the release plan, but I can't guarantee if it will be fixed in Release10.3.

JosephCarl2
Occasional Contributor

This still isn't working for me...all I can find is this and no dice.  That sample app still doesn't work either.  I tried everything to get the legend to work.


https://support.esri.com/en/technical-article/000028603

0 Kudos
RichardRogers1
Occasional Contributor

I am having the same problem - unable to print to get the print widget to include a legend for the layers present in the map.  Subscribed to follow this development.

0 Kudos
StephenKing3
Regular Contributor

I can't get the legend to print either. I tried the method explained in the technical support article, but it won't let me select 'Include legend' in the template configuration.

ChristineLenore
New Contributor

I'm having the same problem as @StephenKing3, where the print widget does not include the legend in the output, even when the include legend box is checked, and I cannot select the 'Include Legend' option in the template config. Looks like a few people have all experienced this in the last week.

Any ideas, @ShengdiZhang?