Hi Tullio!

The UUIDs have to be generated by you, as you produce the XML data for each 
user.

Each user needs a unique UUID, or you will cause errors on import, or worse, 
overwrite something that already exists in the repository.



The UUID has the format:

HEX_CHAR = [abcdefABCDEF0123456789]

UUID_PATTERN= HEX_CHAR{8}-HEX_CHAR{4}-HEX_CHAR{4}-HEX_CHAR{4}-HEX_CHAR{12}



and is further described at the IETF under RFC 4122: 
http://www.ietf.org/rfc/rfc4122.txt



Basically, if your users have an existing "ID" of some kind, I would put that 
ID at the front, and generate a random "ending" for your UUID, for example

<ID>-1234-1234-1234-1234567890ab



You need to zero-pad your ID to 8 characters length.



That should work.

Regards from Vienna,

Richard



-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] 
Im Auftrag von Tullio Bettinazzi
Gesendet: Dienstag, 25. Jänner 2011 09:42
An: [email protected]
Betreff: Re: AW: [magnolia-user] Massive user import







Tks fot Your help.

I tried but I don't understand How I can generate the jcr:uid nodein xml.

Tks

Tullioi



--

View this message in context: 
http://old.nabble.com/Massive-user-import-tp30719688p30748317.html

Sent from the Magnolia - User mailing list archive at Nabble.com.







----------------------------------------------------------------

For list details see

http://www.magnolia-cms.com/home/community/mailing-lists.html

To unsubscribe, E-mail to: 
<[email protected]<mailto:[email protected]>>

----------------------------------------------------------------






----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to