Blog

OpenKM Scripting – Creating Folders

We recently had the need to create hundreds of folders but didn’t want to do so manually. Unfortunately, this wasn’t as easy as simply going into the database and adding them. Fortunately, it was as easy as using the following script: import com.openkm.api.OKMFolder; import com.openkm.core.JcrSessionManager; import com.openkm.bean.Folder; String token = Read more…

By Chris West, ago
Blog

OpenKM Scripting – Adding UserRole

A while back, when I first starting working with OpenKM, I accidentally removed the UserRole role from the root directory. For the longest time, I had know clue how to add the UserRole role back to that folder, or any other folder for that matter. Today, after playing around with Read more…

By Chris West, ago