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.

merge PDF from Output and PDF Form

Avatar

Former Community Member

Hello,

I need help.

Is It possible to merge PDF file from Output with PDF form, so that in the result PDF will be PDF Form at the end and will be interactive?

I can merge using the DDX, but in the result is the first page is PDF Form and second page is the PDF output.

I need to swap it.

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

  <PDF result="result" return="true" format="XDP">

    <PDF source="PDFForm"/>

    <PDF source="OutputPDF"/>

  </PDF>

</DDX>

Thank you for your help.

Stik

2 Replies

Avatar

Level 10

Do you want to swap the two pages in resultant PDF?

Then, why don't you rearrange your source PDF documents as shown below?

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

  <PDF result="result" return="true" format="XDP">

        <PDF source="OutputPDF"/>

        <PDF source="PDFForm"/>

  </PDF>

</DDX>

Nith

Avatar

Former Community Member

Hi,

OutputPDF is FlatPDF.

PDFForm is XFAForm.

If I change these lines, so LiveCycle write error.

2012-02-03 12:41:30,114 ERROR [com.adobe.livecycle.assembler.AssemblerServiceImpl] ALC-ASM-S00-002: Failed to execute the DDX - error messages provided.

Stik