Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Disassemble portfolio, how to?

Avatar

Former Community Member

hi,

i have problem with disassembling PDF portfolio.

I have process in cycle, which is assemble few forms with XFA data into a pdf's. At the end of this process, after loop, it makes a portfolio like this :
  <PDF result="Acrobat 9 Portfolio">
    <Portfolio>
      <Navigator source="AdobeRevolve.nav"/>
      <Schema>
        <Field name="Character" type="Filename"/>
        <Field name="Location" type="Text"/>
      </Schema>
    </Portfolio>
    <PackageFiles>
      <PDF source="Swami.pdf"/>
      <PDF source="Sherlock.pdf"/>
      <FieldData name="Location">London</FieldData>
    </PackageFiles>
  </PDF>

This portfolio i will send to user and he should fill it up and send it back to me. For disassemble portfolio i tried
  <PDFsFromBookmarks prefix="Animal">
    <PDF source="doc1"/>
  </PDFsFromBookmarks>

but in Assembler result i got no documents like in attachement can see.

I need help with this? Thanks a lot.

4 Replies

Avatar

Former Community Member

I have the same problem.  Any ideas about

how to disassemble portfolios.

Avatar

Level 10

Try to use <PackageFiles> instead of <PDF> for your result tag.


Jasmin

Avatar

Former Community Member

Do you have any sample DDX where you disa

ssemble a portfolio.

Avatar

Former Community Member

Do you mean when we first cre

ate the portfolio, I have to use the <PackageFiles> instead of <PDF> for the result tag.

This is how I'm using the DDX to Create the Portfolio:

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
  <PDF result="NewPortfolio">
    <Portfolio>
      <Navigator source="AdobeGridSizeOptions.nav"/>
    </Portfolio>
    <PackageFiles>
      <PDF source="1 SNAPApplication" bookmarkTitle="SNAP"/>
      <PDF source="2 DSS8207" bookmarkTitle="DSS"/>     
    </PackageFiles>
  </PDF> 
</DDX>

Can you let me know how this DDX file should be replaced to include the <packageFiles result tag instead of the <PDF result tag.

And after that, what DDX should I use to extract the files again.   So mainly The portfolio should be created first and then the single files has to be extracted.  I've accomplished this using an assembled file with BookMarks but this idea can't be applied to a portfolio.  Any help would be greatly appreciated.