Hi everyone,
This might be a stupid question but is there any way to see how many assets there is in the DAM ?
And the global size of the DAM ?
Can't find it, and it seems to be something basics to me no?
Regards,
Grégory
Solved! Go to Solution.
I use this query regularly to get this information in json format. It works great at all path levels.
http://localhost:8051/bin/querybuilder.json?type=dam:Asset&path=/content/dam&p.limit=-1
You can use QueryBuilder APi to query all DAM assets and count result set.
Views
Replies
Total Likes
Hi,
you can get the size for a folder path from the disk usage report[0]. But be careful with this page as it will put a load on your server. Number of Assets could be via a query, as the above report will give a count of the JCR nodes for a path.
Regards,
Opkar
[0] http://localhost:4502/etc/reports/diskusage.html?path=/content/dam
Views
Replies
Total Likes
Hi
Please have a look at theses queries:-
Go to:- http://localhost:4502/crx/explorer/ui/search.jsp
Number of digital assets in DAM
// element(*, dam:Asset) order by @jcr:score
Number of images
// metadata[jcr:like(@dam:MIMEtype, 'image/%’)] order by @jcr:score
Total number of nodes
// * order by @jcr:score
Total number of CQ pages
// element(*, cq:Page) order by @jcr:score
As mentioned by Opkar, Disk Usage Reports is used when you need to find which folder is taking the maximum space (it is server side load).
Disk Usage Report:
/etc/reports/diskusage.html
Disk Storage by DAM Assets:
/etc/reports/diskusage.html?path=/content/dam
I hope this will help you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Hi
Adding one more reference for you,
If you would like to add asset count column to list view, then please refer this this article:-
Demo:- https://drive.google.com/file/d/0B4d6KmbLkAumU0xmbU1aY0tFeGc/view
Package:- https://drive.google.com/file/d/0B4d6KmbLkAumVUVxbFp5MVZzUnM/view
Link 6.1 :- http://experience-aem.blogspot.com/2015/09/aem-61-touch-ui-add-new-column-to-assets-console-list-vie...
I hope this will also help you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
I use this query regularly to get this information in json format. It works great at all path levels.
http://localhost:8051/bin/querybuilder.json?type=dam:Asset&path=/content/dam&p.limit=-1
Views
Likes
Replies
Views
Likes
Replies