cancel
Showing results for 
Search instead for 
Did you mean: 

Unique ID not so unique

i9steni
Champ in-the-making
Champ in-the-making
After installing record management I finally get a unique ID that I can reference to in external documentation. But then, after a while, I realise that this unique ID is not so unique afterall. First i import some documents so that they get the unique ID. Then i go inte another persons home space and copy some imported files (also with unique ID) (i´m doing this because one document could be used in multiple projects). When I then paste the copied files into my home space i get two documents with the "unique ID" of null-0001…

this is so incredible bad. This is the first thing that you must have, a unique number on all documents.. 

I really, really hope that there is a bug fix available as soon as possible…
1 REPLY 1

pmonks
Star Contributor
Star Contributor
By default all objects in the DM repository get assigned two (2) unique ids: a GUID and a DBID.  The GUID is the "safe" unique identifier to use, since they're immutable (are guaranteed to retain their value across export/import etc.), whereas DBIDs are simply database sequence / identify column values and hence change as assets are moved around between Alfresco instances.

I'm not sure which "unique ID" you're referring to - neither GUIDs nor dbids have the format shown above, which makes me suspect that they're defined in an aspect of some kind (perhaps an aspect defined in the Records Management module), in which case the generation of the unique value is part of the aspect, not Alfresco itself.

Cheers,
Peter