I have just wondered the same question, and I found out that there is two unique "doc-ids": <ol><li> hierarchy.parentId + hierarchy.name</li> <li>uid.uid</li> </ol>
I think that database-wise that these two unique-keys should be extracted from the hierarchy-table and inserted into a new table documents, or oposite. PS: In order to use the uid as document-key, you need to activate the uid-generator as following: <extension target="org.nuxeo.ecm.platform.uidgen.service.UIDGeneratorService" point="generators"> <generator name="tvdocs" class="org.nuxeo.ecm.platform.uidgen.generators.UIDGCoreDocument"> <propertyName>uid:uid</propertyName> <docType>DocType1</docType> <docType>KjetilDoc<docType> </generator> </extension> I implemented my own UIDGCoreDocument generator, but that is up to you :-) Edited by: kjetilny on 24.aug.2010 22:05 -- Posted by "kjetilny" at Nuxeo Discussions <http://nuxeo.org/discussions> View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=4023#12362> _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
