01-24-2018 03:53 AM
Hello, I need to get the number of files of each type. I have n models and in each one I have n types.
I have tried the solution that says here https://angelborroy.wordpress.com/2014/07/15/alfresco-%C2%B7-counting-elements-by-cmis-queries/ But I'm not going or I do not know what to putin this select:
SELECT cmis: objectId FROM cmis: document where IN_TREE ('[ID]') and cmis: objectTypeId = 'D: ks: docType'; I need help! Thank you
02-03-2018 02:42 AM
02-03-2018 06:16 AM
Hi:
From database point of view you can check the following link:
https://blog.dbi-services.com/alfresco-some-useful-database-queries/
Regards.
--C.
02-04-2018 04:12 AM
Hi:
And you can use CMIS workbench for getting these numbers for your document types with a groovy script. There is a demo example script for CMIS SQL queries included in CMIS workbench.
Apache Chemistry - CMIS Workbench
Regards.
--C.
Explore our Alfresco products with the links below. Use labels to filter content by product module.