Oak offline compaction steps

Download oak-run jar from, http://mvnrepository.com/artifact/org.apache.jackrabbit/oak-run Use 1.2.11 for AEM 6.1Take backup, java –jar oak-run-*.jar backup crx-quickstart/repository/segmentstore backup/segmentstoreFind all the checkpoints, java -jar oak-run-*.jar checkpoints crx-quickstart/repository/segmentstoreRemove all the unreferenced checkpoints, java -jar oak-run-*.jar…

AEM - Using PageFilter to filter children of a page

getPageFilter() method public static PageFilter getPageFilter (final String filterTemplatePath, final String filterValue) { PageFilter pageFilter = new PageFilter() { public boolean includes(Page p) { ValueMap props = p.getProperties(); String templatePath = props.get("cq:template", String.class); String customPropertyName = props.get("customPropertyName", String.class); return (filterTemplatePath.equals(templatePath) && customPropertyName.equalsIgnoreCase(filterValue)) ? true…

How to disable Adobe CQ Link Checker

What is Adobe CQ Link Checker? Link Checker is an out of the box component of Adobe CQ. It checks all the external link of content pages and make list them as valid or invalid. Invalid links show as a broken link icon on a content page. You can check…