Page 1 of 1

OpenKM API to generate document using template

PostPosted:Tue Nov 03, 2020 8:43 am
by abdul.quddhus
is there soap/rest or java API exposed from OpenKM to generate document from document template with dynamic values passed to it?

Re: OpenKM API to generate document using template

PostPosted:Fri Nov 06, 2020 6:09 pm
by jllort
No, we should extend API for it, please ask for it at https://github.com/openkm/document-mana ... tem/issues

Re: OpenKM API to generate document using template

PostPosted:Wed Nov 11, 2020 10:11 am
by abdul.quddhus
Thanks jllort for your prompt reply.

is it feasible to expose SOAP/REST API to accept dynamic values and create document using the template?

ie..client application will invoke an api passing say 30 dynamic values and the api is expected to merge the dynamic values into document template, create the document in specific folder and return the uuid of the created document to the client.

Re: OpenKM API to generate document using template

PostPosted:Fri Nov 13, 2020 1:02 pm
by jllort
Yes, it is quite easy.

Re: OpenKM API to generate document using template

PostPosted:Sat Nov 14, 2020 6:43 pm
by abdul.quddhus
jllort wrote: Fri Nov 13, 2020 1:02 pm Yes, it is quite easy.
Kindly guide me on the OpenKM APIs to be used.

Re: OpenKM API to generate document using template

PostPosted:Sun Nov 15, 2020 7:52 am
by jllort
As I explained before, the API must be extended. Add an issue here https://github.com/openkm/document-mana ... tem/issues and when we got time we will work on it.