• Export documents by category

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #29388  by justulio
 
Is there any way to export documents by their categories? I mean I need a folder structure as catagories with documents in that structure.

I have tried the export, but it only gets categories as folder structure - no documents in it. I have also tried the Save to ZIP, but it only gets me one level of categories.
So is there any other way, some script I could run or something?

JD
 #29412  by jllort
 
You should create a script for doing it. Basically recursivelly follow all categories tree, get document children and then export files from the document children results.

This url can be a good start for doing it:
http://wiki.openkm.com/index.php/Folders_deep
From the api http://doxygen.openkm.com/openkm/d9/d6d ... _1api.html you should use http://doxygen.openkm.com/openkm/de/de7 ... ument.html the method getContent

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.