cq5 - Find first level pages using query -


I want to get all the pages under the current path using the query, because I also use the query They need to sort them. I am using the criteria below which is giving me the pages given below the hierarchy, but as long as the child does not have children, it goes deeper.

  path = / content / geometrixx / en / toolbar type = cq: Page orderby = Jcr: content / cq: last modified   

Looks like:

  / content / geometrixx / en / toolbar / newsletter (crxde, html, json) / content / geometric / n / toolbar / sitemap (crakesid, html, json) / content Sub-page in the result set as / in the form of Geometric / N / toolbar / account (CRXDE, HTML, JSON) / Content / Geometrics / N / Toolbar / Account / Register (CRXDA) account page Does not require pages I / O / I / I /. Please provide any criteria that fits in this type of query.  

Thank you

You

  type = Cq: page path = / content / geometrixx / en / toolbar  

flat can use property jcr: root / content / geometrixx / en / toolbar / Element (*, cq: pages) order jcr: content / @ cq: last Modified descending

To learn more about the different properties, refer to the implementation sections of.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -