Hi
I've got a blob from 2 odt documents using the officemerger plugin.
My problem: next code does not work

DocumentModel tmp = null;
tmp = new DocumentModelImpl(root.getPathAsString(), "historia1", "File");
tmp = this.documentManager.createDocument(tmp);
tmp.setProperty("dublincore", "title", "historia1");
tmp.setProperty("file", "content", merged); // merger: the blob
tmp = this.documentManager.saveDocument(tmp);
this.documentManager.save();

How to save or upload "merged" as content to the document "historia1" with
odt format.
Thanks in advance
Juanjo
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to