I tried 

Blob blob = StreamingBlob.createFromStream(req.getEntity().getStream());

documentModel.setProperty("files", "item/file", blob);
documentModel.setProperty("files", "item/filename", filename);

and also 

documentModel.getDataModel("files").setData("item/file", blob);

The both with and without the substring "item"
--
Posted by "mafm" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2394#6463>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to