I want to get a list of pages that are created with a particular template.
How do i do it?
Both on the component jsp page and external bundle.
I am running a version 5.6 of CQ
Since you tagged this with "search" it sounds like you already know the answer
A query like //element(*, cq:PageContent)[@cq:template = '/apps/geometrixx/templates/homepage'] will get you a list of pages with a particular template
Retrieving data ...