Expand my Community achievements bar.

SOLVED

How to get the AEM DAM Assets name and count

Avatar

Level 4

Hi ,

How to get the AEM DAM Assets name and count via query? We are using the MongoDB as repository in AEM and want to retrieve the assets that is uploaded on specific date either via query or programmatically.

Can anyone provide the any sample?

 

Thanks

~S

1 Accepted Solution

Avatar

Correct answer by
Level 10

There are multiple examples for queries here [1] please refer the same 

[1] https://docs.adobe.com/docs/en/cq/5-6-1/dam/customizing_and_extendingcq5dam/query_builder.html

you can query to get all the assets uploaded on specific date which would return list of nodes where you can iterate to get the asset name.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

There are multiple examples for queries here [1] please refer the same 

[1] https://docs.adobe.com/docs/en/cq/5-6-1/dam/customizing_and_extendingcq5dam/query_builder.html

you can query to get all the assets uploaded on specific date which would return list of nodes where you can iterate to get the asset name.