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

How to generate the PDF in CQ5.6.1. I have a page with from with some fields and need to generate the PDF whic contains all the form field and its values.

Avatar

Former Community Member

HI,

I have crated the file_abc.xsl which is in the same foleder where we have the page2fo.xsl ,but in the page i have the form with some fields including image ,when i put .pdf to my page url PDF is genarating but I am able to get the page form field names only not the values.

Please let me know how i will be able to get the form field values also in the PDF genarated.

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

Using AEM to generate PDFs - you have two choices for this type of workflow:

1- If your enterprise requires true PDF integration, it may be worth looking at the possibility of integrating AEM with LiveCycle:
http://helpx.adobe.com/livecycle/help/aem/aem-livecycle-connector.html

http://scottsdigitalcommunity.blogspot.ca/2012/07/integrating-livecycle-into-adobe-cq.html (this shows integrating AEM and LC and creating a PDF/A document for long term storage.)

This is an enterprise scale solution and you will be able to perform all sorts of PDF/AEM solutions to address many enterprise use cases.  

2- You can also use a PDF Java lib like PDFBOX to create a custom OSGi service that generates PDF documents. See this community article: 
http://helpx.adobe.com/experience-manager/using/creating-custom-experience-manager-pdf.html (PDFBOX API is not a substitute to LC server - but it will generate PDFs). 

But there is no documentation that discusses how to configure AEM to generate a PDF with both forms and form data. This is not an out of the box feature. 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Using AEM to generate PDFs - you have two choices for this type of workflow:

1- If your enterprise requires true PDF integration, it may be worth looking at the possibility of integrating AEM with LiveCycle:
http://helpx.adobe.com/livecycle/help/aem/aem-livecycle-connector.html

http://scottsdigitalcommunity.blogspot.ca/2012/07/integrating-livecycle-into-adobe-cq.html (this shows integrating AEM and LC and creating a PDF/A document for long term storage.)

This is an enterprise scale solution and you will be able to perform all sorts of PDF/AEM solutions to address many enterprise use cases.  

2- You can also use a PDF Java lib like PDFBOX to create a custom OSGi service that generates PDF documents. See this community article: 
http://helpx.adobe.com/experience-manager/using/creating-custom-experience-manager-pdf.html (PDFBOX API is not a substitute to LC server - but it will generate PDFs). 

But there is no documentation that discusses how to configure AEM to generate a PDF with both forms and form data. This is not an out of the box feature.