April 7, 2020
Estimated Post Reading Time ~

Multiple order by clause (QueryBuilder) in AEM aka CQ5

Question: Trying to user querybuilder and need to have multiple order by clauses. Tried this, doesn’t work (in XPath I can see the order by doesn’t get added). What’s the correct syntax and where can I find more documentation on using these clauses?

1_orderby=@jcr:content/metadata/docType
1_orderby.sort=asc

2_orderby=@jcr:content/metadata/type
2_orderby.sort=asc

Answer: Helpful articles for reference:-
https://docs.adobe.com/docs/en/cq/5-6-1/dam/customizing_and_extendingcq5dam/query_builder.html


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.