Inserting metadata to document

A short use-case about what I would like to accomplish and I'm not sure if it is possible and how to do it.

Let's assume I create a new document: I would start by filling in the metadata and selecting a (odf) document in nuxeo to be used as a template. The system would create an instance of that document by copying the template and filling in the metadata values to the document property variables like “Title”, Subject etc. Those variables would be used in the front page.

Also every time I change the document metadata, the new metadata would need to be inserted into the document properties.

I can read everywhere about how to extract metadata from existing documents but how to discard the document metadata/properties initially and replace those automatically and always with nuxeo ones?

0 votes

1 answers

2106 views

ANSWER



Hi,

You should take a look at https://github.com/tiry/nuxeo-platform-rendering-templates, this may be what you are looking for. We use OpenOffice / MSOffice templating with Merge fields, but the result is the same.

This module will be added as an addon in a few days and should be part of Nuxeo 5.6.

Hope this helps.

Tiry

0 votes