Skip navigation
Currently Being Moderated

Add multiple unknown attachments

Jun 26, 2012 6:22 AM

I have been trying to create a process to add multiple document level attachments (images), count and filenames unknown at design time.


Any examples?


I am at the point where I have a loop through the list of documents (attachments), setting the current attachment and its filename in a variable, then calling AssemblerService.invokeDDX for each.


The DDX validation tells me "process:///process_data/@currentFilename" is not a valid filename.

I have tried with listOfFilenames[/process_data/currentIndex], even process:///process_data/listOfFilenames[1]. All fail to validate.


I'm not sure the FileAttachments source gets the correct value either.


<DDX xmlns="">

  <PDF result="pdfOut" format="PDF">

    <PDF source="pdfIn"/>

    <FileAttachments source="process:///process_data/@currentAtt">

      <File filename="process:///process_data/@currentFilename"/>



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



Using Livecycle Workbench v9.5.

  • Currently Being Moderated
    Oct 14, 2012 3:56 PM   in reply to StefaanVanMieghem


    So you want to add  x number of attachments to a documents using assembler.

    This can be done by using the DDX. Can you please send me your process lca to


    I will fix your problems and send it back to you



    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points