Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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.

AEMCQ5_6
Level 2
Level 2

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
smacdonald2008
Correct answer by
Level 10
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
smacdonald2008
Correct answer by
Level 10
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