I have been busy attempting to create a very large PDF with a Table of Contents using ColdFusion 8, which was not possible before.  Using the Document Description XML (DDX) language with the LiveCycle Assembler that is built into CF8 you are able to merge PDFs, extract data and content from PDFs, and more.

Everything works well until I used the <TableOfContents> element, which throws the following error:

?View Code COLDFUSION
1
failed: DDXM_S18005: An error occurred in the PrepareTOC phase while building <TableOfContents>. Cause given.

I only get this error when using the <TableOfContents> element in the DDX:

?View Code COLDFUSION
1
2
3
<TableOfContents maxBookmarkLevel="infinite" bookmarkTitle="Table of Contents" includeInTOC="false">
    <Footer styleReference="CatalogueFooter" />
</TableOfContents>

Anyone seen this before or have any thoughts?

FYI, if you’re looking for documentation on DDX, it is available in the Adobe LiveCycle Documenation.

This entry was posted on Wednesday, August 8th, 2007 at 3:25 pm.
Categories: Uncategorized.

One Comment, Comment or Ping

  1. Did you find a solution to this error. I’m experiencing the same problem. I’ve stripped it down to a Title page, TOC and one pdf for my TOC.

    Thanks!

Reply to “Table of Contents with CFPDF”