OpenKM templates
PostPosted:Wed Jun 10, 2020 11:05 am
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.
Re: OpenKM templates
PostPosted:Tue Jun 16, 2020 11:46 am
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