Expand my Community achievements bar.

SOLVED

How to pull list of contents (Assets/Pages) created/modified on last 10 days

Avatar

Level 3

Hello,

Could some one let me know how to pull list of contents (Assets/Pages) created/modified on last 10 days in AEM 6.2 Author to package and export from one environment to other environment without any code or component changes ?

Thanks,

GVK

1 Accepted Solution

Avatar

Correct answer by
Level 3

Try something like /bin/querybuilder.json?path=/content&type=cq:PageContent&1_relativedaterange.property=jcr:created&1_relativedaterange.lowerBound=-10d&p.limit=10

View solution in original post

4 Replies

Avatar

Level 3

Thanks for the response edubey.

Do you have any sample query to pull based on the create or last modified date? If so please share me the same.

Avatar

Correct answer by
Level 3

Try something like /bin/querybuilder.json?path=/content&type=cq:PageContent&1_relativedaterange.property=jcr:created&1_relativedaterange.lowerBound=-10d&p.limit=10