Adding a PDF page to PDF using AEM Forms Assemble Service | Community
Skip to main content
September 21, 2022
Solved

Adding a PDF page to PDF using AEM Forms Assemble Service

  • September 21, 2022
  • 12 replies
  • 2897 views

I have a use case where I have two PDFs.

1- Static PDF 

2- Dynamic PDF, generated using AEM Form Communication API (https://developer.adobe.com/experience-manager-forms-cloud-service-developer-reference/api/output-sync/).

 

Ask -

I would like to insert static PDF pages after page 2 of Dynamic PDF(generated using communication API) using Document manipulation APIs (https://developer.adobe.com/experience-manager-forms-cloud-service-developer-reference/api/assembler-sync/#section/Introduction).

 

Any sample code or DDX file, if this can be done?

Best answer by Vijay_Katoch

Try this:

<PDF result="doc1.pdf">
<PDF source="doc2.pdf" pages="1-2"/>
<PDF source="doc3.pdf
<PDF source="doc2.pdf" pages="3-5"/>
</PDF>

 

You can use <NoXFA/> tags inside dynamic pdf.

12 replies

October 5, 2024

Welcome to pmawasyojana2025.in your one-stop shop for thorough and trustworthy information about financial insights and government programs. Our goal is to make complicated policies and financial matters understandable to everyone. Washim, a seasoned blogger with a BA degree and over three years of experience in the yojana and finance area, founded our site. 

October 6, 2025

Thanks for sharing this solution, it was helpful! On a related note, while working on financial forms and PDF generation projects, I also came across some tools for LIC policy calculations. If anyone is interested, here’s a free LIC Calculator 

October 7, 2025

I am also facing the same problem. Please solve my problem also. My website LIC Calculator