how to get all assets from a folder under content dam folder in aem
Hi All,
I'm new to AEM please let me know if anyone has idea on below scenario.
I'm working on dam assets - I would like to delete assets from one particular folder after some specific time So Im using scheduler for this requirement, but wanted to know how to get all assets from a folder So that once i get list of assets from folder will try to read the jcr:data of all assets like modified date and based on that will delete the asset once it completes some time in dam.
please suggest if approach is not correct
path will be something like this :- /content/dam/folder
Thanks in advance