type=sling:Folder
daterange.property=jcr:lastModified
daterange.lowerBound=2022-09-01T01:00:00.000
daterange.upperBound=2022-09-24T18:00:00.000
path=/content/dam
1_group.p.or=true
p.limit=-1
I want to add multiple paths when I am adding that getting
not getting proper result?
how to add multiple paths in querybuilder api query.
Solved! Go to Solution.
Views
Replies
Total Likes
@akshaybhujbale - It would be as simple as :
group.1_group.path.self=true group.2_group.path.self=true
also, cheatsheet references you can refer to :
[1]https://experienceleague.adobe.com/docs/experience-manager-65/assets/JCR_query_cheatsheet-v1.1.pdf?l...
[2] https://github.com/paulrohrbeck/aem-links/blob/master/querybuilder_cheatsheet.md
Hi @akshaybhujbale ,
You would need to use group for this.
This predicate is used to create logical conditions in your query. You can create complex conditions using OR & AND operators in different groups.
type=sling:Folder daterange.property=jcr:lastModified daterange.lowerBound=2022-09-01T01:00:00.000 daterange.upperBound=2022-09-24T18:00:00.000 group.1_path=/content/dam group.2_path=someotherpath group.p.or=true p.limit=-1
Thanks @Anmol_Bhardwaj
Also how we can add path.self=true in above query
@akshaybhujbale - It would be as simple as :
group.1_group.path.self=true group.2_group.path.self=true
also, cheatsheet references you can refer to :
[1]https://experienceleague.adobe.com/docs/experience-manager-65/assets/JCR_query_cheatsheet-v1.1.pdf?l...
[2] https://github.com/paulrohrbeck/aem-links/blob/master/querybuilder_cheatsheet.md
Views
Likes
Replies