The proper field for searches is ecm:uuid, not ecm:id. But really you could do much simpler without any search: String docId = getFirstRefId() DocumentModel doc = coreSession.getDocument(new IdRef(docId));
Florent -- Posted by "fguillaume" at Nuxeo Discussions <http://nuxeo.org/discussions> View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=3160#9384> _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
