Skip to content

Instantly share code, notes, and snippets.

View jello10298's full-sized avatar

Angelo Gonzalez jello10298

View GitHub Profile
@jello10298
jello10298 / JcrQueryLibrary.md
Created May 30, 2018 20:51 — forked from floriankraft/JcrQueryLibrary.md
Some useful JCR queries (XPATH, SQL2) for AEM/CQ development.

SQL2

All nodes with a specific name

SELECT * FROM [nt:unstructured] AS node
WHERE ISDESCENDANTNODE(node, "/search/in/path")
AND NAME() = "nodeName"

All pages below content path