Hi Team,
Hope you are doing great and thank you for supporting all time.
Can we get recent three pages based on its tag on current page through code.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Use query builder
Refer cheatsheet https://github.com/paulrohrbeck/aem-links/blob/master/querybuilder_cheatsheet.md
@bhagchand thats the power of communities.
have you tried to use AEM querybuilder API? you can use something like below to achieve the results.
Note:- please make sure to have indexes created/used.
type=cq:Page
tagid=marketing:interest/product
tagid.property=jcr:content/cq:tags
orderby=@jcr:content/cq:lastModified
orderby.sort=desc
p.limit=3
Please refer to AEM documenation for further reference:-
Thanks a lot, let me try with this
Use query builder
Refer cheatsheet https://github.com/paulrohrbeck/aem-links/blob/master/querybuilder_cheatsheet.md
Views
Likes
Replies
Views
Likes
Replies