cancel
Showing results for 
Search instead for 
Did you mean: 

What is the meaning of the field 'uid' within the schema 'uid'

zx_fit_
Champ in-the-making
Champ in-the-making

When I create a new document type based on 'File' it inherits the schema 'uid'.

What is the meaning of the field 'uid' within the schema 'uid'?

Can I set the uid programmatically when creating a new document or is that field maintained by Nuxeo DM like the UUID?

Thanks & regards

1 ACCEPTED ANSWER

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

This schema is supposed to hold a unique identifier for the document, as generated by the UID generator service.

It's a "business" id so it's different from the unique identifier generated automatically by the repository when creating the document (and handled as any other metadata).

View answer in original post

1 REPLY 1

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

This schema is supposed to hold a unique identifier for the document, as generated by the UID generator service.

It's a "business" id so it's different from the unique identifier generated automatically by the repository when creating the document (and handled as any other metadata).