<?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: Data Driven Pages Printing Service in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/data-driven-pages-printing-service/m-p/780993#M5275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings.&amp;nbsp; Any luck coming up with a solution for this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Nov 2019 15:23:48 GMT</pubDate>
    <dc:creator>DanielHunter</dc:creator>
    <dc:date>2019-11-18T15:23:48Z</dc:date>
    <item>
      <title>Data Driven Pages Printing Service</title>
      <link>https://community.esri.com/t5/developers-questions/data-driven-pages-printing-service/m-p/780992#M5274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;&lt;SPAN style="color: #000000;"&gt;I've been tasked with creating a custom web app hosted in ArcGIS Online that has the ability to export out data driven pages through a printing service (we also have ArcGIS Server). Within the printing widget, I noticed you can point to a printing service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;&lt;SPAN style="color: #000000;"&gt;What we want to be able to do is have any user query features, go through the printing widget and have it export out a multi-page PDF of all features that are queried. I am familiar with sharing the "Get Layout Templates Info" as a geoprocessing service but I'm running into a bit of trouble with the data driven pages aspect.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2019 14:08:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/data-driven-pages-printing-service/m-p/780992#M5274</guid>
      <dc:creator>RyanMellema</dc:creator>
      <dc:date>2019-06-05T14:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Data Driven Pages Printing Service</title>
      <link>https://community.esri.com/t5/developers-questions/data-driven-pages-printing-service/m-p/780993#M5275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings.&amp;nbsp; Any luck coming up with a solution for this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2019 15:23:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/data-driven-pages-printing-service/m-p/780993#M5275</guid>
      <dc:creator>DanielHunter</dc:creator>
      <dc:date>2019-11-18T15:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Data Driven Pages Printing Service</title>
      <link>https://community.esri.com/t5/developers-questions/data-driven-pages-printing-service/m-p/780994#M5276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any luck on this?&amp;nbsp; I need to do exactly this for two different sites, one for a single page output, and one for a multi-page output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 17:13:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/data-driven-pages-printing-service/m-p/780994#M5276</guid>
      <dc:creator>Kara_Shindle</dc:creator>
      <dc:date>2020-05-12T17:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Data Driven Pages Printing Service</title>
      <link>https://community.esri.com/t5/developers-questions/data-driven-pages-printing-service/m-p/780995#M5277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've had a bit of luck and I was able to get it working locally.&amp;nbsp; What you'll need to do (this may now be outdated) is to write a custom ArcPy script and publish it as a GP service to ArcServer.&amp;nbsp;&amp;nbsp;Then, anytime someone clicks the 'print' button, it will execute the script that's living on the server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the script it should look on the server for a DDP enabled mxd in a registered folder which is specified in the script (name and location) then, the two main tools you'd want to use are: ConvertWebMapToMapDocument and dataDrivenPages.exportToPDF. I currently just have it exporting the pdf to a temporary folder on the user's C drive using arcpy.env.scratchFolder which then opens using os.startfile&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 17:59:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/data-driven-pages-printing-service/m-p/780995#M5277</guid>
      <dc:creator>RyanMellema</dc:creator>
      <dc:date>2020-05-12T17:59:15Z</dc:date>
    </item>
  </channel>
</rss>

