Expand my Community achievements bar.

SOLVED

Adding a PDF page to PDF using AEM Forms Assemble Service

Avatar

Level 3

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-sy....

 

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...).

 

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.

View solution in original post

15 Replies

Avatar

Correct answer by
Community Advisor

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.

Avatar

Level 3

That is what I tried and want to know in case there are other alternatives. Thanks

Avatar

Employee Advisor

@vidhyabhushanbahl what's the current approach? Where are the two pdf placed as of now?

Avatar

Level 3

Hi @Mayank_Gandhi 

I have done like this.

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

Avatar

Employee Advisor

@vidhyabhushanbahl that's a very hard-coded way, where do you have the PDF from IC? if you need dynamic use workflows or servlet

Avatar

Level 1

I am also facing the same problem please solve my problem also my website jobsrajasthan.com

Avatar

Level 1

Job Status (NaukriStatus.co.in) – India's top education website. Our mission is to guide Indian youth in higher education and provide best content to develop career. We support students through subject-specific articles, expert advice, and search management.

Avatar

Level 1

I'm encountering a similar issue. Could you please address my concern as well? My website is laptopyojana.in.

Avatar

Level 1

At YojanaON, we are passionate about bridging the gap between government policies and the citizens they aim to serve. Our mission is to empower every Indian with the knowledge and resources they need to access and benefit from various government schemes, programs, pm fasal bima yojana and initiatives.

Avatar

Level 1

United Specialty Insurance Company is a key player in the insurance industry, renowned for its specialized insurance solutions that cater to unique and high-risk scenarios. This guide provides an in-depth look into the company’s background, insurance offerings, claims process, and key features, assisting you in making informed insurance decisions.

And

Navigating the intricacies of insurance claims can be daunting, but understanding the provisions in place can make the process much smoother. This guide will help you understand what “provision for insurance claim” entails, ensuring you are well-prepared in the event of needing to file a claim.

Avatar

Level 1

But This Is Also Good 

 

Comprehensive Guide to Ohio Security Insurance Company

Ohio Security Insurance Company, a reputable subsidiary of Liberty Mutual, offers a wide range of insurance products tailored to meet the needs of businesses and individuals.

And 

When it comes to safeguarding your property from fire damage, The Standard Fire Insurance Company stands out as a leading provider in the insurance industry. 

Avatar

Level 1

Knowing how to unlink Citibank credit card can be essential for managing your finances securely and efficiently. Whether you need to remove a card due to security concerns, simplify your credit management, or resolve specific issues, this guide will walk you through the process. Follow these steps to unlink your Citibank credit card with ease.

Avatar

Level 1

Networthsy is the total value of an individual's or entity's assets minus their liabilities. It represents financial health and is calculated by adding up all assets (cash, real estate, investments, etc.) and subtracting all debts (mortgages, loans, credit card balances, etc.). A positive net worth indicates that assets exceed liabilities, reflecting financial stability, while a negative net worth means more debt than assets. It's a crucial metric for assessing overall financial well-being. SSO ID

Avatar

Level 1

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.

<a href="https://pmawasyojana2025.in/category/sarkari-yojana/">yojana for all </a> 

Washim, a seasoned blogger with a BA degree and over three years of experience in the yojana and finance area, founded our site.  

 

 

Avatar

Level 1

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.