I'm having problems printing out tiled services in WAB, I'm caching and hosting the services in ArcGis for Server and then consuming them in a WAB app, for now, I'm not using the developer version of the WAB, but I will. As you can see in the example below, it should show three layers in the legend, but the tiled services don't appear. Any idea why? can it be related to the security of my server? or perhaps the setting of the cached services?
How many symbols are missing from your legend? We recently had the same problem and it seems to be due to ArcGIS dropping items when they don't fit.
Even if part of an item does not fit, the entire legend item is going to be dropped from the legend. For example, if only 10 classes from a 15 class legend item will fit, the entire item will be dropped, not just the 5 classes that do not fit. At this point the legend will stop trying to add items even if another legend item later in the list would fit.
From Working with legends—Help | ArcGIS for Desktop (about 2/3 of the way down the page).
We tried creating a two-page mxd template, but that is not supported, so our solution was to create a new template mxd (called 'Legend Only') where the legend took up the whole page and the dataframe was so small you couldn't see it. Now users can do two exports - one with the map and one with the legend.
You'll need to make these layers part of a dynamic mapservice to get the layers to show in the legend for the print. Can you use scale dependencies to make the layers more responsive if they are heavy layers (lots of vertices)?
The legend should be like this
The space in the print template shouldn't be a problem. Also, I've tried to make the area for the legend bigger and still doesn't show these layers.
I've tried publishing dynamic map services cached and not cached, the non-cached shown the legend in the printout but the performance of the layer is poor, and the cached doesn't show the legend as the non-dynamic cached services. Do you think this it can be fixed using the developer version of WAB?
I've created a new map with the same layers but instead using the WAB I'm using the basic viewer template and on this template the print functionality shows the legends for the cached layers.