Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

DDX for disassembling packaged files

Avatar

Level 4

Hello,

I created a very basic pdf portfolio using assembler service. My ddx for the same -

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">

  <PDF result="Assembled Form">

    <PDF source="cover" baseDocument="true"/>

    <PackageFiles>

      <PDF source="Waiver Form"/>

      <PDF source="Benefit Form"/>

    </PackageFiles>

  </PDF>

  <?ddx-source-hint name="cover"?>

  <?ddx-source-hint name="Waiver Form"?>

  <?ddx-source-hint name="Benefit Form"?>

</DDX>

Now I want to extract pdf's out of this portfolio. How should the corresponding ddx be for this ? I tried disassembling through PDFsFromBookmarks, page number etc., but none of them seem to work as the source files are in the package.

Thanks for the help..

1 Accepted Solution

Avatar

Correct answer by
Level 8

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">

<FileAttachments result="attachmentInfo.xml" nameKeys="*" extract="true">

<PDF source="inDoc1"/>

<FilenameEncoding encoding="ISO-8859-1"/>

</FileAttachments>

</DDX>

View solution in original post

1 Reply

Avatar

Correct answer by
Level 8

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">

<FileAttachments result="attachmentInfo.xml" nameKeys="*" extract="true">

<PDF source="inDoc1"/>

<FilenameEncoding encoding="ISO-8859-1"/>

</FileAttachments>

</DDX>