Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Query to get list of assets uploaded today

Avatar

Level 3

 

I have requirement to run a report daily  that provides details of all the assets uploaded that day (the day the report is created) with who uploaded the assets and missing metadata . what is the query i can use to get the list of assets which are uploaded/created the day report is generated?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi

Below is the query to fetch the assets which are uploaded in last 1 day

 

path=/content/dam/en
type=dam:Asset
relativedaterange.property=jcr:created
relativedaterange.lowerBound=-1d
p.limit=-1

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi

Below is the query to fetch the assets which are uploaded in last 1 day

 

path=/content/dam/en
type=dam:Asset
relativedaterange.property=jcr:created
relativedaterange.lowerBound=-1d
p.limit=-1