Print output includes layers not visible in viewer
I've got some layers that appear on every print request despite their being turned off in the Layer List. I've noticed each of the offenders are visible in their group layers for which their parent is set to be invisible. Yet the layer nevertheless appears on the print. It is a problem because the output becomes an uncontrollable mess for the user. You can try it (https://maps.brucecounty.on.ca/GVH5/Index.html?configBase=https://maps.brucecounty.on.ca/Geocortex/Essentials/REST/sites/Bruce_County_Maps/viewers/Bruce_HTML_5_Viewer/virtualdirectory/Resources/Config/Default) here . By printing without even zooming in, you'll notice conservation authority jurisdictions appearing that should not, plus zoning. What can I do to correct this? I don't want to disable the sublayers because I want those layers to be visible when their parent is checked on, and I know of no other way to make this happen in GVH5. This problem is specific to the HTML 5 viewer. I am running GVH5 2.4.1 with GE 4.3 atop AGS 10.3.
Thanks in advance for any help,
Justin
-
Hi Justin,
Thanks very much for the clear reproduction steps and sample site. I was able to spot the problem very quickly due to details.
I have filed this issue under GVH-7040 here and I will see that this gets into the next maintenance release.
Sorry for any inconveniences this has caused you.
-Kevin
0 -
Good to hear!
0 -
+1
The print doesn't have the same behaviour as Silverlight. For us, the print will always show the first layer.
For the print request, we're getting:
https://myserver/Geocortex/Essentials/4.2.1/REST/sites/ValtusTest/printtemplates/0/print?f=json&scale=10795657.24826074&bboxSR=4326&bbox=[...]&layers=3(show:0,1,2,3,4);4(show:0,2)
Instead of :
https://myserver/Geocortex/Essentials/4.2.1/REST/sites/ValtusTest/printtemplates/0/print?f=json&scale=10795657.24826074&bboxSR=4326&bbox=[...]&layers=3(show:0,1,2,3,4);4(show:2)
0 -
Hi Vincent,
What version of the viewer are you using? I noticed that the 4(show:0,2) notation is not used anymore as of GVH 2.4.
Thanks,
Kevin
0 -
Oh, we are one version below (2.3.0). I will try in 2.4. Does this bug have been resolved in GVH 2.4?
Thanks a lot!
Vincent
0 -
Latitude overhauled the printing process for version 2.4. The new format is on par with how Silverlight performs prints. Many old issue were resolved due to the new format.
Try to use 2.4.1 if possible. 2.4 was the initial rollout and even more issues were resolved in 2.4.1.
Thanks,
Kevin
0 -
Vincent: I just want to clarify my bug noted above is not resolved in 2.4.1, because that's the version in which I'm experiencing it.
0 -
Is 7040 scheduled to be fixed yet? I'm on 2.5 and it is still a problem, and the release notes for 2.5.1 don't mention it. 0 -
Hello Stephanie! This is set to be released next week, as part of GVH 2.5.2. 0 -
great, thanks! :) 0 -
I just upgraded to 2.5.2 on the dev server and I am still seeing this problem. The release notes show GE-7040 as fixed but it only mentions printing cluster and heat map layers, so I am not sure if that is the same bug as GVH-7040? 0 -
Oh, it is mentioned in the GVH release notes (I was looking at GE release notes). Nonetheless it still isn't fixed for me. I don't have a public facing site with this, unfortunately. Is anyone else in the same boat? 0 -
It's just our reports that are the problem, regular prints are fine. 0 -
Hi Stephanie, 0 -
Yes. It is the same workflow on the dev server and all the layers are turned on in the printed reports. 0 -
Hi Stephanie,
0 -
I finally figured this out. VicMap contains mostly grouped layers. For example, all of our Water utility layers are in a "Water" group, and the majority of the child layers are turned on so that the user just has to turn on "Water" and all water layers (mains, manholes, laterals, hydrants, fittings, valves, etc.) turn on. This worked great until a few versions ago. Now all of the child layers that are on, but not visible on the map because the parent layers are off, are showing up on our reports. 0 -
Is it possible to choose which map service is shown in the printed report? If I can change it to my aerial photo map instead, that would work. I don't see how to make that change in report designer, all it says is "FeatureMapImage" for the data field, and there's nothing in the script about the map image. 0 -
For anyone still reading... I changed the map service shown by changing the mapRestEndpoint that the report uses from the Geocortex export map rest endpoint to the ArcGIS Server export map rest endpoint. (In the properties of my workflow in Essentials Manager). 0
Please sign in to leave a comment.
Comments
19 comments