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

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
SOLVED

Regarding .pdf Extension

Avatar

Not applicable
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

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

Not applicable

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

Avatar

Not applicable

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

Not applicable

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