Avatar

Not applicable

Ok i successfully generated my PDF files.

Now I'm having difficulties merging them. I use a DDX file named LiveCycleInput.ddx

What I do (everything in LiveCycle Workbench):

1) FileReader to open the .ddx file as a document (successfully)

2) Store the read document in a process variable (successfully)

3) Assembler.invokeDDX with following arguments:

Document DDX = process variable (read in 2)

OutputResult = "AssemblerResult" processVariable which has type AssemblerResult as specified by the documentation

Errorlog

Everytime I run the process I get the following stacktrace in my server's logfile:

... 119 more
Caused by: com.adobe.internal.pdfm.CollateralNotFoundException: DDXM_S14017: A <PDF> source document is required, but no documents were found for {PDF source="testFileDoc.doc.pdf" baseDocument="true"}.
at com.adobe.internal.ddxm.ddx.pdf.PDFSource.getOrderedInputDocs(PDFSource.java:595)
at com.adobe.internal.ddxm.blueprint.pdf.SourceSegment.addDocumentsForAssembly(SourceSegment.java:91)
... 125 more

The .ddx file is stored in the same path as my generated .pdf files are stored.

Content of my DDX file (full copy paste)

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="testFileMerged.pdf">
  <PDF source="testFileDoc.doc.pdf"/>
  <PDF source="testFileJpg.jpg.pdf"/>
  <PDF source="testFileOdt.odt.pdf"/>
</PDF>
</DDX>

Note that the DDX file is read from a network drive(!!) the source PDF files are in the same folder as the ddx file (hence no further path-links).

Adding network paths to the source & result pdfs does not change a thing.

All PDF Files apart from the result pdf fiile are present in that same folder

I consulted the DDX reference multiple times and this is the simplest ddx that should work ... but it doesnt.

Can anyone help me?