<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Export map to PDF issue (for arcgis 10.0...not 10.1) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574597#M53686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I've checked the logs, no help there. But I see the list of "Server Directories" in ArcGIS Server Manager..and am hoping that it's one of those. I have a request in to get permissions for those directories just to test it out.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in your gp service, what is &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.ScratchWorkspace = "c:/temp/rasteroutput"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that would be where i start.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;remember, that path is a server path, not local&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2012 15:27:33 GMT</pubDate>
    <dc:creator>JeffPace</dc:creator>
    <dc:date>2012-05-14T15:27:33Z</dc:date>
    <item>
      <title>Export map to PDF issue (for arcgis 10.0...not 10.1)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574590#M53679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having to use ArcGIS 10 to export a map to PDF, and followed the 'export map to pdf using python geoprocessing toolbox' approach detailed at the following URL. I've had some success, it actually prints the PDF with some layers...but...the ESRI basemap layers are not included in the map when I access the geoprocessing toolbox through the REST service "Submit Job/Execute Task". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I run the 'ExportToPDF' tool on my local machine...it works perfectly...just not through the web service...I've viewed the messages and it's running without error...but the resulting PDF only has my 'operational layers', but NOT the ESRI basemap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've run out of ideas on this one...anybody have an idea? I've also attached my result...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=8f16fdeef39c46b3952002b2d85ea5de"&gt;http://www.arcgis.com/home/item.html?id=8f16fdeef39c46b3952002b2d85ea5de&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 13:07:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574590#M53679</guid>
      <dc:creator>DanDeneau</dc:creator>
      <dc:date>2012-05-14T13:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Export map to PDF issue (for arcgis 10.0...not 10.1)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574591#M53680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My only only guess is a proxy issue where the webserver can see you local services but not arcgisonline.&amp;nbsp; Have you tried (just to rule out) other tiled services?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, are you in Web Merc Aux Sphere? or are you projecting you operational layers on the fly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I'm having to use ArcGIS 10 to export a map to PDF, and followed the 'export map to pdf using python geoprocessing toolbox' approach detailed at the following URL. I've had some success, it actually prints the PDF with some layers...but...the ESRI basemap layers are not included in the map when I access the geoprocessing toolbox through the REST service "Submit Job/Execute Task". &lt;BR /&gt;&lt;BR /&gt;If I run the 'ExportToPDF' tool on my local machine...it works perfectly...just not through the web service...I've viewed the messages and it's running without error...but the resulting PDF only has my 'operational layers', but NOT the ESRI basemap.&lt;BR /&gt;&lt;BR /&gt;I've run out of ideas on this one...anybody have an idea? I've also attached my result...&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;Dan&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=8f16fdeef39c46b3952002b2d85ea5de"&gt;http://www.arcgis.com/home/item.html?id=8f16fdeef39c46b3952002b2d85ea5de&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 13:27:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574591#M53680</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-05-14T13:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Export map to PDF issue (for arcgis 10.0...not 10.1)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574592#M53681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the response. My operational layers are in WGS_1984_Web_Mercator_Auxillary_Sphere, and the ESRI basemap layers are in "Mercator_Auxillary_Sphere". Since the geoprocessing tool works on my local computer, I would think that the projections are ok.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried a few ESRI basemap layers (World Street Map, and World Imagery)...it also takes a couple minutes to export this very simple PDF...which might be a clue. Perhaps when I run the export tool, it starts making requests for the tiles and there's some kind of delay or as you said needs a proxy or something. The thing is all the messages look ok ("successful,etc")...no timeouts that I can see. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems to be some kind of difference with how a geoprocessing tool is run through arc catalog vs through the REST service...any idea on how to test/debug this further?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It runs so quickly on my laptop through arc catalog, but through the REST service it takes a couple minutes...hrmmmmm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 13:39:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574592#M53681</guid>
      <dc:creator>DanDeneau</dc:creator>
      <dc:date>2012-05-14T13:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Export map to PDF issue (for arcgis 10.0...not 10.1)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574593#M53682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sounds like your web server is having difficulties with the requests.&amp;nbsp; Is it a windows box? have you tried install Desktop on the webserver and running the GP task there?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Maybe its a permissions issue where the ArcGISSOC user is trying to write the tiles to a temp directory that it doesnt have permissions on.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 14:37:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574593#M53682</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-05-14T14:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Export map to PDF issue (for arcgis 10.0...not 10.1)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574594#M53683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Permissions could be the issue...any idea which directory is used to download tiles before creating the PDF?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just tested an external/public map service and I'm having the same issue...so seems like you might be onto something. Just have to figure out which directories to give permissions...will poke around the ArcGIS Server Manager and see if any directories are listed there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;will let you know &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 14:43:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574594#M53683</guid>
      <dc:creator>DanDeneau</dc:creator>
      <dc:date>2012-05-14T14:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Export map to PDF issue (for arcgis 10.0...not 10.1)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574595#M53684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Permissions could be the issue...any idea which directory is used to download tiles before creating the PDF?&lt;BR /&gt;&lt;BR /&gt;I just tested an external/public map service and I'm having the same issue...so seems like you might be onto something. Just have to figure out which directories to give permissions...will poke around the ArcGIS Server Manager and see if any directories are listed there.&lt;BR /&gt;&lt;BR /&gt;will let you know &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;no idea on directory, check your arcgis server log &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 15:12:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574595#M53684</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-05-14T15:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Export map to PDF issue (for arcgis 10.0...not 10.1)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574596#M53685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've checked the logs, no help there. But I see the list of "Server Directories" in ArcGIS Server Manager..and am hoping that it's one of those. I have a request in to get permissions for those directories just to test it out.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 15:23:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574596#M53685</guid>
      <dc:creator>DanDeneau</dc:creator>
      <dc:date>2012-05-14T15:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Export map to PDF issue (for arcgis 10.0...not 10.1)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574597#M53686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I've checked the logs, no help there. But I see the list of "Server Directories" in ArcGIS Server Manager..and am hoping that it's one of those. I have a request in to get permissions for those directories just to test it out.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in your gp service, what is &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.ScratchWorkspace = "c:/temp/rasteroutput"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that would be where i start.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;remember, that path is a server path, not local&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 15:27:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574597#M53686</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-05-14T15:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Export map to PDF issue (for arcgis 10.0...not 10.1)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574598#M53687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;well...since i'm using arcpy:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.scratchWorkspace = '/relTemp/'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the script does find this path, as that's where I'm currently outputting the PDF file...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm now thinking it could have something to do with writing to the 'cache' directory (one of the server directories listed in the ArcGIS Server Manager). It's explained in the link below. It makes sense to me that they'd use this 'cache directory' to download tiles/images from map services for quick use later on...rather than using the actual scratch workspace for a geoprocessing tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//0093000000nt000000"&gt;&lt;BR /&gt;&lt;BR /&gt;'&amp;gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//0093000000nt000000&lt;BR /&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 15:37:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574598#M53687</guid>
      <dc:creator>DanDeneau</dc:creator>
      <dc:date>2012-05-14T15:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Export map to PDF issue (for arcgis 10.0...not 10.1)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574599#M53688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm facing that issue with ArcGIS 10.0, that is, only when I execute the script locally is possible to generate the PDF with the basemap, but If I try to do it by performing through web service (via browser), the generated PDF doesn't show the basemap layer in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has someone solved that problem and could you please share it in here ?!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 16:03:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-map-to-pdf-issue-for-arcgis-10-0-not-10-1/m-p/574599#M53688</guid>
      <dc:creator>FabioMarconi</dc:creator>
      <dc:date>2013-04-12T16:03:13Z</dc:date>
    </item>
  </channel>
</rss>

