The uid field (in the uid schema) is by default a field dedicated to
applications. Nuxeo EP or DM doesn't use it.
This field should not be confused with the main document id which is a
UUID and is unique and immutable.

Florent

On Thu, Aug 12, 2010 at 5:14 PM, Francois-Denis Gonthier
<[email protected]> wrote:
>
> ----- "Florent Guillaume" <[email protected]> a écrit :
>
>> The UID generator service is designed to allow generation along some
>> configurable patterns, however if it doesn't do exactly what you want
>> it's trivial to write instead a small event listener that reacts on
>> document creation, copy or import and sets on them the uid field
>> based
>> on the current time as Benjamin suggested (YYYYMMDDHHMMSSSS). This is
>> basically 10 lines I think.
>
>
> If I do that, can I just change the UID of existing documents to follow that 
> pattern and expect nothing will break? Won't this break relations between 
> documents?
>
> F-D
>



-- 
Florent Guillaume, Director of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87
_______________________________________________
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