<?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: Control JS API Produced PDF File in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47839#M4189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could create your own Print Task based on a Python Script, similar to this tutorial: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Tutorial_Basic_high_quality_web_map_printing_exporting_using_arcpy_mapping/0057000000mr000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Tutorial_Basic_high_quality_web_map_printing_exporting_using_arcpy_mapping/0057000000mr000000/&lt;/A&gt;&lt;SPAN&gt;. This tutorial focuses on removing service layers for vector layers staged in the template Map Document. However, you dont need that functionality, so you can skip that part. Instead, focus on the line that calls ExportToPDF, &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/ExportToPDF/00s300000027000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/ExportToPDF/00s300000027000000/&lt;/A&gt;&lt;SPAN&gt;. This function has the layers_attributes paramater, which, when set to "NONE", will disable the layers in the output PDF.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2013 19:55:43 GMT</pubDate>
    <dc:creator>JeffMoulds</dc:creator>
    <dc:date>2013-01-17T19:55:43Z</dc:date>
    <item>
      <title>Control JS API Produced PDF File</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47832#M4182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using the JS API dojo.require("esri.dijit.Print") functionality to produce a exported PDF file - Is there a way to lock the layer toggle feature within the PDF file (on the left hand side).&amp;nbsp; I can get the export to PDF to work fine.&amp;nbsp; I'd like to know if there is a setting on the javascript side or the ArcGIS server side to lock this functionality when the PDF is opened.&amp;nbsp; I'd like to not allow the user of the document to be able to "turn off" the confidential statement within the PDF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice would be great.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;James.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 20:04:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47832#M4182</guid>
      <dc:creator>JK</dc:creator>
      <dc:date>2013-01-04T20:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Control JS API Produced PDF File</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47833#M4183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;any properties you can set from within ArcMap for PDF exports will be honored by the 10.1 Print Service when the same template is used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.[install location]\ArcGIS\Server\Templates\ExportWebMapTemplates\Letter ANSI A Portrait.mxd&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i don't understand exactly what you're talking about, but perhaps File &amp;gt; Export Map &amp;gt; PDF &amp;gt; Advanced &amp;gt; Layers and Attributes: "None" is the property you need to set?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tutorial: Publishing additional services for printing&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/0154/0154000005n1000000.htm"&gt;http://resources.arcgis.com/en/help/main/10.1/0154/0154000005n1000000.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 15:58:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47833#M4183</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-01-08T15:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Control JS API Produced PDF File</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47834#M4184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply John.&amp;nbsp; However for some reason the PDF generated by the ArcGIS server overrides the selection of "None."&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance, changing the option to "None" and exporting directly from the *.mxd it works properly.&amp;nbsp; As the PDF file has the toggle layer functionality gone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when exporting from the API (IE8) the toggle layer functionality still exists.&amp;nbsp; Seems like a bug to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any other suggestions would be appreciated.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 18:04:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47834#M4184</guid>
      <dc:creator>JK</dc:creator>
      <dc:date>2013-01-08T18:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Control JS API Produced PDF File</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47835#M4185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;id have to test to confirm, but that certainly doesn't sound like the correct behavior to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it'd be a little more work, but you might try publishing a custom geoprocessing task which calls the two Python functions in succession.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.mapping.ConvertWebMapToMapDocument&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/#/ConvertWebMapToMapDocument/00s30000006n000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/#/ConvertWebMapToMapDocument/00s30000006n000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.mapping.ExportToPDF (setting layers_attributes property)&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/#/ExportToPDF/00s300000027000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/#/ExportToPDF/00s300000027000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;more general info on custom print workflows here&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//01540000056t000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//01540000056t000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 18:13:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47835#M4185</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-01-08T18:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Control JS API Produced PDF File</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47836#M4186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah.&amp;nbsp; I make other changes to the textboxes in the layout template just to make sure I see all of the changes saved in the *.mxd file.&amp;nbsp; When exporting from the API, I see the changes in the layout but the toggle functionality still exists.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 18:22:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47836#M4186</guid>
      <dc:creator>JK</dc:creator>
      <dc:date>2013-01-08T18:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Control JS API Produced PDF File</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47837#M4187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please test on your end.&amp;nbsp; I'm curious if you get the same result.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 18:35:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47837#M4187</guid>
      <dc:creator>JK</dc:creator>
      <dc:date>2013-01-08T18:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Control JS API Produced PDF File</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47838#M4188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i was able to reproduce the behavior you described.&amp;nbsp; I even tried logging into the ArcGIS Server machine with the ArcGIS Server account credentials to set the PDF properties (thinking they might be user specific), but the result was the same.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 19:12:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47838#M4188</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-01-08T19:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Control JS API Produced PDF File</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47839#M4189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could create your own Print Task based on a Python Script, similar to this tutorial: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Tutorial_Basic_high_quality_web_map_printing_exporting_using_arcpy_mapping/0057000000mr000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Tutorial_Basic_high_quality_web_map_printing_exporting_using_arcpy_mapping/0057000000mr000000/&lt;/A&gt;&lt;SPAN&gt;. This tutorial focuses on removing service layers for vector layers staged in the template Map Document. However, you dont need that functionality, so you can skip that part. Instead, focus on the line that calls ExportToPDF, &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/ExportToPDF/00s300000027000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/ExportToPDF/00s300000027000000/&lt;/A&gt;&lt;SPAN&gt;. This function has the layers_attributes paramater, which, when set to "NONE", will disable the layers in the output PDF.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 19:55:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47839#M4189</guid>
      <dc:creator>JeffMoulds</dc:creator>
      <dc:date>2013-01-17T19:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Control JS API Produced PDF File</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47840#M4190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Jeff.&amp;nbsp; I'll look into this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 15:49:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-js-api-produced-pdf-file/m-p/47840#M4190</guid>
      <dc:creator>JK</dc:creator>
      <dc:date>2013-01-23T15:49:19Z</dc:date>
    </item>
  </channel>
</rss>

