Print Widget Error with Custom or Vector Basemap

1963
15
Jump to solution
11-28-2016 10:48 AM
DanAllen
Occasional Contributor III

I am using the stock print widget in Web AppBuilder.  If I use custom basemaps with Https aerial rest services from New York State GIS, or if I have an ESRI Vector basemap turned on in the map, the print widget throws an error, or it replaces current basemap with the default esri streets basemap.  It seems the print widget will only work if I have one of the ESRI stock basemaps selected.

Any workaround for this?

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
DerekLaw
Community Moderator

Hi Dan,

> Does anyone know when we will be able to print Vector Basemaps?

We are actively working on this functionality and I expect this should be available by UC timeframe with the ArcGIS API for JavaScript. Not sure if it will make it into Web AppBuilder by then, but it would follow soon after.

Hope this helps,

View solution in original post

15 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Dan,

   No there is no workaround this is a known limitation by esri when it comes to vector basemaps and printing.

DanAllen
Occasional Contributor III

Thank you Robert, I suspected as much.  Taking away the Vector basemaps, i still get errors trying to print when I am using custom basemaps with new york state ortho rest services.  any thoughts?  https://gis.ny.gov/gateway/mg/webserv/webserv.html

0 Kudos
DanAllen
Occasional Contributor III

New York State offers Http and Https rest services.  They are depreciating http, so i setup my WAB with custom basemaps from different year aerial flights using https rest services.  I was getting errors when trying to print.  I just switched them back to Http and now it prints fine.  

Is there some sort of issue related to https and the print widget?  

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Dan,

   Yes there are known issues with https and printing as well.

0 Kudos
DanAllen
Occasional Contributor III

i just removed the "www." from the New York State Https rest aerial service url, and now it appears to print just fine with the print widget.  

RobertScheitlin__GISP
MVP Esteemed Contributor

Dan,

   That's great.

0 Kudos
DanAllen
Occasional Contributor III

Now that ESRI Vector Basemaps are out of Beta and fully supported with the December 2016 update, I was hoping the print widget in WAB would start printing maps correctly, but it still doesn't work.  Does anyone know when we will be able to print Vector Basemaps?

0 Kudos
DerekLaw
Community Moderator

Hi Dan,

> Does anyone know when we will be able to print Vector Basemaps?

We are actively working on this functionality and I expect this should be available by UC timeframe with the ArcGIS API for JavaScript. Not sure if it will make it into Web AppBuilder by then, but it would follow soon after.

Hope this helps,

DanAllen
Occasional Contributor III

After the latest AGOL update, I checked, and vector basemaps now appear to work with the print widget in web appbuilder (non-developer version).  Is this function fully supported now?  I would love to start using more of the vector basemaps in some of our apps.

thanks

Dan

0 Kudos