alex_985

Error Printing Map to PDF

Discussion created by alex_985 on Jul 10, 2013
Good day!
I use in my work ArcGis 10.1 to create online application.
I need export my map in to PDF.
I load sample from https://developers.arcgis.com/en/javascript/jssamples/widget_print_esri_request.html
And create jsp, tuning proxy and deploy it in GlassFish server.
Your example is works.
I add my dynamic layer
â?? var layer = new esri.layers.ArcGISDynamicMapServiceLayer("http://MyServer/arcgis/rest/services/MyMap/MapServer");

app.map.addLayer(layer); â??

layer is showing, but printing donâ??t works.
I have error in IE console
â??Error: Unable to complete operation.
Error: Unable to complete operation.
SCRIPT5007: Ð�е Ñ?далоÑ�Ñ? полÑ?Ñ?иÑ?Ñ? знаÑ?ение Ñ�войÑ�Ñ?ва "toLowerCase": знаÑ?ением обÑ?екÑ?а Ñ�влÑ�еÑ?Ñ�Ñ� NULL или он не опÑ?еделенâ?�


I run debugging and error occurred in line
â??var _312=function(evt){var tag=evt.srcElement.tagName.toLowerCase();â?�

How resolve this problem?

Outcomes