03-29-2017 04:19 AM
Hi, Having created a document with the REST API, I can, on the web interface, generate a docx file rendering, using a docx template associated with this document type. Is it possible to programmatically generate this rendering, and access the docx file generated, with the REST API ? Thanks,
03-31-2017 03:47 AM
I answer myself, after a more thorough reading of the documentation.
The URL to get the rendered document is not in the /api/v1/etc... , but in the nxtemplate namespace; the URL nxtemplate/document-path@model-name renders the document and returns the rendered result.
Example: GET http://nuxeo.mycompany.com:8080/nuxeo/nxtemplate/default/stages-conventions/convention-test-eleve-01... ... returns a docx binary file, Where:
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.