<?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: DDP simple index in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/ddp-simple-index/m-p/100992#M1164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;DDP out of the box can not do this.&amp;nbsp; You can create the index page by exporting a separate MXD to PDF.&amp;nbsp; Then use arcpy.mapping (Python scripting) to append the pages into a single result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a snippet from the arcpy.mapping PDFDocument class help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy, os

#Set file name and remove if it already exists
pdfPath = r"C:\Project\ParcelAtlasMapBook.pdf"
if os.path.exists(pdfPath):
&amp;nbsp;&amp;nbsp;&amp;nbsp; os.remove(pdfPath)

#Create the file and append pages
pdfDoc = arcpy.mapping.PDFDocumentCreate(pdfPath)
pdfDoc.appendPages(r"C:\Project\Title.pdf")
pdfDoc.appendPages(r"C:\Project\ParcelAtlas.pdf")

#Commit changes and delete variable reference
pdfDoc.saveAndClose()
del pdfDoc

&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 06:15:16 GMT</pubDate>
    <dc:creator>JeffBarrette</dc:creator>
    <dc:date>2021-12-11T06:15:16Z</dc:date>
    <item>
      <title>DDP simple index</title>
      <link>https://community.esri.com/t5/mapping-questions/ddp-simple-index/m-p/100991#M1163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi I have created a mapbook using DDP (around 90 pages), is there a way to create a simple index page that gives the page number and the corresponding page name? (I'm using 10.0).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 18:44:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/ddp-simple-index/m-p/100991#M1163</guid>
      <dc:creator>AndyJones</dc:creator>
      <dc:date>2014-06-24T18:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: DDP simple index</title>
      <link>https://community.esri.com/t5/mapping-questions/ddp-simple-index/m-p/100992#M1164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;DDP out of the box can not do this.&amp;nbsp; You can create the index page by exporting a separate MXD to PDF.&amp;nbsp; Then use arcpy.mapping (Python scripting) to append the pages into a single result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a snippet from the arcpy.mapping PDFDocument class help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy, os

#Set file name and remove if it already exists
pdfPath = r"C:\Project\ParcelAtlasMapBook.pdf"
if os.path.exists(pdfPath):
&amp;nbsp;&amp;nbsp;&amp;nbsp; os.remove(pdfPath)

#Create the file and append pages
pdfDoc = arcpy.mapping.PDFDocumentCreate(pdfPath)
pdfDoc.appendPages(r"C:\Project\Title.pdf")
pdfDoc.appendPages(r"C:\Project\ParcelAtlas.pdf")

#Commit changes and delete variable reference
pdfDoc.saveAndClose()
del pdfDoc

&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:15:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/ddp-simple-index/m-p/100992#M1164</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2021-12-11T06:15:16Z</dc:date>
    </item>
  </channel>
</rss>

