PageLabels << /Nums [0 << /S /r >>3 << /S /D >>]>>
#Append cover sheets PDF file for f in coverSheets: finalPdf.appendPages(f) #Append Locus finalPdf.appendPages(tmpPdf_locus) #Append pages finalPdf.appendPages(tmpPdf) #Update the properties of the final pdf to show thumbnail view finalPdf.updateDocProperties(pdf_open_view='USE_THUMBS', pdf_keywords="PageLabels << /Nums [0 << /S /r >>3 << /S /D >>]>>", #NOT WORKING pdf_layout='SINGLE_PAGE')
Solved! Go to Solution.
import arcpy pdfDoc = arcpy.mapping.PDFDocumentOpen(r"C:\Project\ParcelAtlasMapBook.pdf") pdfDoc.updateDocProperties(pdf_title="Atlas Map", pdf_author="Author", pdf_subject="Map Book", pdf_keywords="Atlas; Map Books", pdf_open_view="USE_THUMBS", pdf_layout="SINGLE_PAGE") pdfDoc.saveAndClose() del pdfDoc
import arcpy pdfDoc = arcpy.mapping.PDFDocumentOpen(r"C:\Project\ParcelAtlasMapBook.pdf") pdfDoc.updateDocProperties(pdf_title="Atlas Map", pdf_author="Author", pdf_subject="Map Book", pdf_keywords="Atlas; Map Books", pdf_open_view="USE_THUMBS", pdf_layout="SINGLE_PAGE") pdfDoc.saveAndClose() del pdfDoc