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

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

0 votes

1 answers

2267 views

ANSWER



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).

0 votes