<?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: How to export pdf from data driven pages using page name? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704143#M54514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, Christian.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried your suggestion and looks like the way to go, but now I keep getting the same ddp exported in the loop...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Exporting page 344 of 475"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Exporting page 344 of 475"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Exporting page 344 of 475"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Exporting page 344 of 475"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can't see where to fix it and how to make the pages export in order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Feb 2015 13:20:40 GMT</pubDate>
    <dc:creator>Ulises</dc:creator>
    <dc:date>2015-02-23T13:20:40Z</dc:date>
    <item>
      <title>How to export pdf from data driven pages using page name?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704140#M54511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to export pdf from data driven pages from a standalone python script.&amp;nbsp; So far I have the following code that works fine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
mxd = arcpy.mapping.MapDocument(r"C:\Workspace\DELETEME\TestDDP\dds_test.mxd")
for pageNum in range(1, mxd.dataDrivenPages.pageCount + 1):
&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd.dataDrivenPages.currentPageID = pageNum
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "Exporting page {0} of {1}".format(str(mxd.dataDrivenPages.currentPageID), str(mxd.dataDrivenPages.pageCount))
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.mapping.ExportToPDF(mxd, r"C:\Workspace\DELETEME\TestDDP" + str(pageNum) + ".pdf")
del mxd&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that I want the file to be name as the page name and not the page ID.&amp;nbsp; Thing is that my grid feature class jumps from grid_id 123 to 125, but page number shows the sequential number of pages, altought I set page number field to grid_id also.&amp;nbsp; Grid_ID and GRID_NAME in my feature class have the same value, but due to the jump in values, the generated pdf file 124 is actually representing the map for grid 125.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:36:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704140#M54511</guid>
      <dc:creator>Ulises</dc:creator>
      <dc:date>2021-12-12T05:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to export pdf from data driven pages using page name?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704141#M54512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ulises,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try out the following to get the page name in your loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pageName = mxd.dataDrivenPages.pageRow.getValue(pageNameField)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;import arcpy
&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f6f6f6;"&gt;mxd = arcpy.mapping.MapDocument(r&lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue; background-color: #f6f6f6;"&gt;"C:\Workspace\DELETEME\TestDDP\dds_test.mxd"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000; background-color: #f6f6f6;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="color: #000000; font-size: 12px; background-color: #f6f6f6; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;pageNameField = "&amp;lt;FieldName&amp;gt;"&lt;/SPAN&gt;
&lt;SPAN style="color: #000000; font-size: 12px; background-color: #f6f6f6; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&lt;SPAN class="keyword" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #006699;"&gt;for&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt; pageNum &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #006699;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt; range(&lt;/SPAN&gt;&lt;SPAN class="number" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: green;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;, mxd.dataDrivenPages.pageCount + &lt;/SPAN&gt;&lt;SPAN class="number" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: green;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;):&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="color: #000000; font-size: 12px; background-color: #f6f6f6; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pageName = mxd.dataDrivenPages.pageRow.getValue(pageNameField)&lt;/SPAN&gt;
&lt;SPAN style="color: #000000; font-size: 12px; background-color: #f6f6f6; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&lt;SPAN class="keyword" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #006699;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue;"&gt;"Exporting page {0} of {1}"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;.format(str(mxd.dataDrivenPages.currentPageID), str(mxd.dataDrivenPages.pageCount))&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="color: #000000; font-size: 12px; background-color: #f6f6f6; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f6f6f6;"&gt;arcpy.mapping.ExportToPDF(mxd, r&lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue; background-color: #f6f6f6;"&gt;"C:\Workspace\DELETEME\TestDDP"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000; background-color: #f6f6f6;"&gt; + str(pageName) + &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue; background-color: #f6f6f6;"&gt;".pdf"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000; background-color: #f6f6f6;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="color: #000000; font-size: 12px; background-color: #f6f6f6; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;del mxd&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:36:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704141#M54512</guid>
      <dc:creator>ChristianWells</dc:creator>
      <dc:date>2021-12-12T05:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to export pdf from data driven pages using page name?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704142#M54513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition, you can use the following to get out the field name and then feed it back into your row.getValue() statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldName = mxd.dataDrivenPages.pageNameField.name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Feb 2015 01:27:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704142#M54513</guid>
      <dc:creator>ChristianWells</dc:creator>
      <dc:date>2015-02-21T01:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to export pdf from data driven pages using page name?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704143#M54514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, Christian.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried your suggestion and looks like the way to go, but now I keep getting the same ddp exported in the loop...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Exporting page 344 of 475"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Exporting page 344 of 475"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Exporting page 344 of 475"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Exporting page 344 of 475"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can't see where to fix it and how to make the pages export in order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 13:20:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704143#M54514</guid>
      <dc:creator>Ulises</dc:creator>
      <dc:date>2015-02-23T13:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to export pdf from data driven pages using page name?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704144#M54515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the example, I sent it looks like I forgot to paste the new page number. Can you try the following?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="keyword" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #006699;"&gt;import&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt; arcpy&lt;/SPAN&gt;

&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;mxd = arcpy.mapping.MapDocument(r&lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue;"&gt;"C:\Workspace\DELETEME\TestDDP\dds_test.mxd"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="color: #000000; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f6f6f6;"&gt;pageNameField = &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue; background-color: #f6f6f6;"&gt;"&amp;lt;FieldName&amp;gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="color: #000000; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue; background-color: #f6f6f6;"&gt;&lt;SPAN class="keyword" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #006699;"&gt;for&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt; pageNum &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #006699;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt; range(&lt;/SPAN&gt;&lt;SPAN class="number" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: green;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;, mxd.dataDrivenPages.pageCount + &lt;/SPAN&gt;&lt;SPAN class="number" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: green;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;):&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="color: #000000; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&lt;SPAN style="color: #000000; font-size: 12px; background-color: #f6f6f6; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f6f6f6;"&gt;mxd.dataDrivenPages.currentPageID = pageNum&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="color: #000000; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&lt;SPAN style="color: #000000; font-size: 12px; background-color: #f6f6f6; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f6f6f6;"&gt;pageName = mxd.dataDrivenPages.pageRow.getValue(pageNameField)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="color: #000000; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&lt;SPAN style="color: #000000; font-size: 12px; background-color: #f6f6f6; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #006699;"&gt;print&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue;"&gt;"Exporting page {0} of {1}"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;.format(str(mxd.dataDrivenPages.currentPageID), str(mxd.dataDrivenPages.pageCount))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="color: #000000; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&lt;SPAN style="color: #000000; font-size: 12px; background-color: #f6f6f6; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f6f6f6;"&gt;arcpy.mapping.ExportToPDF(mxd, r&lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue; background-color: #f6f6f6;"&gt;"C:\Workspace\DELETEME\TestDDP"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000; background-color: #f6f6f6;"&gt; + str(pageName) + &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue; background-color: #f6f6f6;"&gt;".pdf"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000; background-color: #f6f6f6;"&gt;)&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;OL class="dp-py" start="1" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #5c5c5c; margin-bottom: 1px !important; margin-left: 45px !important;"&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;del mxd&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:36:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704144#M54515</guid>
      <dc:creator>ChristianWells</dc:creator>
      <dc:date>2021-12-12T05:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to export pdf from data driven pages using page name?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704145#M54516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks...now is working like I want it!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 15:29:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704145#M54516</guid>
      <dc:creator>Ulises</dc:creator>
      <dc:date>2015-02-23T15:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to export pdf from data driven pages using page name?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704146#M54517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What would be the protocol for using only the page name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.mapping.ExportToPDF(mxd, r"C:\Path\folder\" + str(pageName)+ " " + ".pdf")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Throws an EOL error. I am forced to use space or text&amp;nbsp; after the folder path string, that causes issues with my match table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 17:26:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704146#M54517</guid>
      <dc:creator>williamcarr</dc:creator>
      <dc:date>2015-02-24T17:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to export pdf from data driven pages using page name?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704147#M54518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;William, I solved that by not using raw path (r).&amp;nbsp; Instead use the inverted dashes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt; arcpy.mapping.ExportToPDF(mxd, "C:/Path/folder/" + str(pageName)+ " " + ".pdf")&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;that worked fo me&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 17:34:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704147#M54518</guid>
      <dc:creator>Ulises</dc:creator>
      <dc:date>2015-02-24T17:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to export pdf from data driven pages using page name?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704148#M54519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's the stuff! Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 17:44:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-pdf-from-data-driven-pages-using/m-p/704148#M54519</guid>
      <dc:creator>williamcarr</dc:creator>
      <dc:date>2015-02-24T17:44:19Z</dc:date>
    </item>
  </channel>
</rss>

