Expand my Community achievements bar.

Problem in merging two documents using Assembler service???

Avatar

Former Community Member

Hi,

I'm trying to merge two documents using Assembler service. In the first document, I have three form fields (One textbox and two buttons). There are separate onclick events written for each button. We have to fill the text box with enduser's input. The second document is a simple pdf image document. If I convert form (First document) to pdf to merge with second document, the buttons in the document are not working. If not, when trying to merge actual form with pdf using assembler service, it is throwing following errors:

Caused by: com.adobe.internal.pdfm.assembly.AssemblyException: PDFM_S02012: Document "srij_test1.pdf" cannot be assembled because it has an AcroForm and the base document "coverpage" has XFA.

          at com.adobe.internal.pdfm.assembly.DocAssembler.insertDocument(DocAssembler.java:930)

Please suggest how to resolve this....

Thanks in advance.......

2 Replies

Avatar

Former Community Member

Hello, 

Try making the form as the base document and PDF as the first document. Then try to use the below script to merge the documents:

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

    <PDF result="document.pdf">

    <PDF source="doc1"/>

<NoXFA/>

    <PDF source="doc2" baseDocument="true"/>

    </PDF>

</DDX>

Thanks,
Dharmendra

Avatar

Employee

Hi Ramu,

Can you please pass on the exact DDX and input PDF documents that your using?

Regards,

Sufyab