Page 1 of 1

See folder/disk usage per user/folder

PostPosted:Wed May 22, 2019 3:03 pm
by DrydenK
Hi,

is there any way for a user to see how much space and/or how many files are in a folder in OpenKM?

One of my users is asking this and I don't know where to check this information. I know I can see the total number/size in Admin/Statistics, but my users want this information per folder.

Thank you,

Roberto

Re: See folder/disk usage per user/folder

PostPosted:Thu May 23, 2019 7:44 pm
by saulhidalgo
Good afternoon Roberto.

Yes, it is possible to do it using custom reports. Idea would be to have a parameter where you add the path that you need the information from, and the report (using Java through the API or using SQL) calculate it.

In case you are using API, please, check the OKMFolder and OKMDocument entries in the API Description of your OpenKM Version.

You can also see examples of Java Reports in the Reports Packs:
https://docs.openkm.com/kcenter/view/ok ... -pack.html

In case you need any help or advice to do it, you can contact me.

Mail: saulhidalgoaular@gmail.com.
Skype: saulhidalgoaular@outlook.com
Phone: +58 426 517 94 59.

Best Regards.
Saul Hidalgo.

Re: See folder/disk usage per user/folder

PostPosted:Sat May 25, 2019 8:12 am
by jllort
It is needed a report based on scripting, can not be done with SQL because you must iterate across al the nodes hierarchy.