April 1, 2020
Estimated Post Reading Time ~ < 1 Min

How to Over-Ride Built-In CQ Components

CQ’s components are located in /libs.  You can over-ride them or their behavior by having your component in /apps in exactly the same path.  Eg: to configure the PDF Writer, over-ride its default configuration node at /libs/cq/config/rewriter/pdf with your configuration at /apps/cq/config/rewriter/pdf.

This method ensures that the setting will survive any software upgrades.
P.S. The PDF Writer XSL Stylesheet is at \libs\wcm\core\content\pdf\page2fo.xsl
aem4beginner.blogspot


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.

Ad Blocker Detected :(

Please consider supporting us by disabling your ad blocker.

Please Disable your adblocker and Refresh the page to view the site content.