Hi,
In AEM, I'm working with Query Builder to fetch all the components of a page in the same order as they are in the page. Nothing fancy.
In other words, the same order as they are shown in the jcr:content.
However, the query is returning all nodes in a scrambled way.
This is the query that I'm using:
path=/content/cacom/en_us/qa-itc-test-data----jan-27-2016/solution-expanding-list-test-data/jcr:content/contentinfo
type.type = cq:node
orderby = @jcr:content
p.limit=-1
I have also tried to use NodeIterator. but, my page is not certain of the number of childs.
Having all the components sequentially as a list will do.
Is there a way? Please address this.
Thanks,
Priya