OpenKM templates

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.
Post Reply
chaitali.pawbake
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: Wed Jun 10, 2020 10:54 am

OpenKM templates

Post by chaitali.pawbake »

Need to create automation script to generate documents from uploaded templates in OpenKM on a scheduled time.
Is this possible using OpenKM? Any information would be helpful.

jllort
Moderator
Moderator
Posts: 11162
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: OpenKM templates

Post by jllort »

Yes,take a look at Crontab
https://docs.openkm.com/kcenter/view/ok ... b-job.html

About create a document from template we need to add API methods for it, because currently are not exposed, anyway taking a look at DocumentServlet class you have two methods where you can get the code sections you need createFromTemplate and updateFromTemplate, take a look here
https://github.com/openkm/document-mana ... .java#L608

Post Reply