Did you think on a direct print in the Flex widget?
Eric,is the layer correctly loaded in the mxd? Could you make a print-screen of the ArcMAP?As far I see, is the mapservice correctly loaded and the data should be displayed.Could you try to load the mapservice manually and compare the difference in the layer properties?Tom
Data Type: ArcGIS Map Service Connection: Internet Server: http://swarcgis001/ArcGIS/services Name: Cad_test Operations Allowed: Map (Display), Query (Identify), Data (Find) Map Service Type: Cached File Format: PNG32 Restriction: Sublayers can't be turned on or off
Eric,I found a difference between both layers.The working one is connected through a LOCAL connection.The non-working is connected through a INTERNET connection.Could you try to add manually a mapservice over a INTERNET connection? -> AddData->GISservers->AddArcGISserver->UseGISservices->Internet->ServerURL: xyzAn alternative would be to enable the "PrintSOE" on the parcels mapservice.Clear your rest-cache and try the print again.Having the "PrintSOE" enabled on a mapservice, will allow to access directly the datasource instead of the mapservice.You will see the difference in the layers properties under "source".Tom
Could you post the .lyr file of the working internet-mapserice?Could you check if the layers are well checked in the "Layer properties" -> "LAyers" tabs?This is very strange?You could also post printscreens for all the tabs (general,source,...) in the Layer properties for the working and non-working internet-layers.Tom
Eric,you can make the following tests: - create the same mapservice (smae mxd) under a different name - log you in with an other user and try the mxd again (maybe IE cache)Tom
The PChPrintSOE is running on both:a .NET ArcGIS Serverand on a Java ArcGIS ServerNew version with new functionalities:- supports WMSLayer- added NorthArrow- added Legend- bug fixes and code cleanup
<html> <head> <meta http-equiv="X-UA-Compatible" content="IE=7" /> <title>printMap (PCHPrintSOE)</title> <link href='https://community.esri.com/ArcGIS/rest/ESRI.ArcGIS.Rest.css' rel='stylesheet' type='text/css'> <script> function addParameter() { var table = document.getElementById("parameterTable"); var numRows = table.rows.length; var row = table.insertRow((numRows - 1)); row.vAlign = "top"; var cell1 = row.insertCell(0); cell1.innerHTML = "<input name='__paramName__' type='text' size='20' value='' />"; var cell2 = row.insertCell(1); cell2.innerHTML = "<textarea name='__paramValue__' rows='3' cols='50'></textarea>"; } function submitForm(method) { var nameNodes = document.getElementsByName("__paramName__"); var valueNodes = document.getElementsByName("__paramValue__"); var form = document.createElement("form"); form.method = method;form.action = "http://gis.wff.nasa.gov/ArcGIS/rest/services/layout/MapServer/exts/PCHPrintSOE/printMap" for (var i = 0; i < nameNodes.length; i++) { var name = nameNodes.value; var value = valueNodes.value; name = name.replace(/\ /g, ""); if(name) { var field = document.createElement("input"); field.type = "hidden"; field.name = name; field.value = value; form.appendChild(field); } } document.body.appendChild(form); form.submit(); } </script> </head> <body> <table width="100%" id="userTable"> <tr> <td id="titlecell">ArcGIS Services Directory</td> </tr> </table> <table id="navTable" width="100%"> <tbody> <tr valign="top"> <td id="breadcrumbs"> <a href="https://community.esri.com/ArcGIS/rest/services">Home</a> > <a href="https://community.esri.com/ArcGIS/rest/services/layout/MapServer">layout (MapServer)</a> > <a href="https://community.esri.com/ArcGIS/rest/services/layout/MapServer/exts/PCHPrintSOE">PCHPrintSOE</a> </td> <td align="right" id="help"> <a href="http://GIS/ArcGIS/SDK/REST/servicesdirectory.html" target="_blank">Help</a> | <a href="?f=help" target="_blank">API Reference</a></td> </tr> </tbody> </table> <div class='restHeader'> <h2>printMap (PCHPrintSOE)</h2> </div> <div class='restBody'> <form> <table style="border:1px solid #000000;"> <tr valign="top"> <td>mapExtent: </td> <td><textarea name="mapExtent" rows="10" cols="50"></textarea></td> </tr> <tr valign="top"> <td>printOutput: </td> <td><textarea name="printOutput" rows="10" cols="50"></textarea></td> </tr> <tr valign="top"> <td>mapElements: </td> <td><textarea name="mapElements" rows="10" cols="50"></textarea></td> </tr> <tr valign="top"> <td>mapServices: </td> <td><textarea name="mapServices" rows="10" cols="50"></textarea></td> </tr> <tr> <td>Format:</td> <td> <select name="f"> <option value="pjson" selected='true'>json</option> </select></td> </tr> <tr><td colspan="2"><input type="submit" value="printMap" /></td></tr> </table> </form> outputFile: http://gis/arcgisoutput/PrintTask_layout_1307476698542_map.pdf<br/><br/></div> </body> </html>
outputFile: http://gis/arcgisoutput/PrintTask_layout_1307476698542_map.pdf
outputFile: http://gis.wff.nasa.gov/arcgisoutput/PrintTask_layout_1307476698542_map.pdf
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.