Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

CollateralNotFoundException from the DDX

Avatar

Level 4

Hi,

Sorry, my question is a bit of naive.

I was trying to create a sample portfolio using Assembler.

The DDX file which I was using looks like below -

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

  <PDF result="final.pdf">

    <PDF source="/Applications/SampleApplication/1.0/form1.pdf"/>

    <PDF source="/Applications/SampleApplication/1.0/form2.pdf"/>

  </PDF>

  <?ddx-source-hint name="/Applications/SampleApplication/1.0/form1.pdf"?>

  <?ddx-source-hint name="/Applications/SampleApplication/1.0/form2.pdf"?>

</DDX>

form1.pdf and form2.pdf are at the paths mentioned in the application. I am passing this DDX as an input to the process, but it is giving me the exception -

Caused by: com.adobe.internal.pdfm.CollateralNotFoundException: DDXM_S14017: A <PDF> source document is required, but no documents were found for {PDF source="/Applications/TestApplication/1.0/form1.pdf"}.

The process properties which I set are below -

process.JPG

Can somebody help me in resolving this exception ?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

This exception is coming beacuse you have not specified keys in the Input Document Map in Process Properties.

For every distinct value of source attribute (like /Applications/SampleApplication/1.0/form1.pdf or just form1.pdf) you have to enter this value as a key in Document map and also specify a value for it.

Value will be the location of the document that you want to pass.

Like in this case you can change your key value to be form1.pdf and form2.pdf. Enter these as separate keys in Input Document Map. When you enter one key like form1.pdf, then click on the selected key values area for that key and specify from to pick that document.

Please visit the following links for more details

http://help.adobe.com/en_US/livecycle/11.0/WorkbenchHelp/WS92d06802c76abadb-1cc35bda128261a20dd-7fb5...

http://help.adobe.com/en_US/livecycle/11.0/WorkbenchHelp/WS92d06802c76abadb-76c0d96a12826be6600-7ff0...

Thanks,

Sufyan

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hi,

This exception is coming beacuse you have not specified keys in the Input Document Map in Process Properties.

For every distinct value of source attribute (like /Applications/SampleApplication/1.0/form1.pdf or just form1.pdf) you have to enter this value as a key in Document map and also specify a value for it.

Value will be the location of the document that you want to pass.

Like in this case you can change your key value to be form1.pdf and form2.pdf. Enter these as separate keys in Input Document Map. When you enter one key like form1.pdf, then click on the selected key values area for that key and specify from to pick that document.

Please visit the following links for more details

http://help.adobe.com/en_US/livecycle/11.0/WorkbenchHelp/WS92d06802c76abadb-1cc35bda128261a20dd-7fb5...

http://help.adobe.com/en_US/livecycle/11.0/WorkbenchHelp/WS92d06802c76abadb-76c0d96a12826be6600-7ff0...

Thanks,

Sufyan