Expand my Community achievements bar.

SOLVED

Regarding .pdf Extension

Avatar

Former Community Member
Like 5.6 accepts (.pdf )extension in the url can we make this enable for 6.x.
1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi,

Could you please explain your use-case bit more? 

If your question is around "Html to PDF Generation", then please have a look at this post:

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

// AEM has a built in rewriter that automatically renders a page as a PDF through Apache FOP (with composition defined in XSL) whenever the extension .pdf is requested.  Creating a script in a template component with the name pdf.<script extension>, such as pdf.jsp, can override this, but then the pdf must be manually created and delivered though a library such as Apache PDFBox.  This document instructs you how to use the out of the box functionality of CQ to configure the PDF rewrite.

~kautuk



Kautuk Sahni

View solution in original post

5 Replies

Avatar

Employee

Should work with 6.x as well. In the path picker, you can provide the path to a PDF file. You can also specify external paths to PDF files. Did you try this out in 6.x? 

Let us know if you encounter problems.

Avatar

Former Community Member

can u send some samples on  path picker i have n't try this one 

Avatar

Correct answer by
Administrator

Hi,

Could you please explain your use-case bit more? 

If your question is around "Html to PDF Generation", then please have a look at this post:

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

// AEM has a built in rewriter that automatically renders a page as a PDF through Apache FOP (with composition defined in XSL) whenever the extension .pdf is requested.  Creating a script in a template component with the name pdf.<script extension>, such as pdf.jsp, can override this, but then the pdf must be manually created and delivered though a library such as Apache PDFBox.  This document instructs you how to use the out of the box functionality of CQ to configure the PDF rewrite.

~kautuk



Kautuk Sahni

Avatar

Former Community Member

Thanks I am trying the above link .Exactly u r correct trying to convert html to pdf but if u see earlier version of CQ which accepts .pdf extension of same page here in 6.x trying to make this enable for .pdf for both touch and classic ui.

Avatar

Former Community Member

thanks very much once again it works for both classic ui and touch ui