cancel
Showing results for 
Search instead for 
Did you mean: 

Correspondance entre UUID de document et id de fichier dans ${nuxeo.data.dir}/binaries

Nuxeo_Dev
Confirmed Champ
Confirmed Champ

Bonjour,

Comment je peux savoir l'uid (dans ${nuxeo.data.dir}/binaries ) qui correspond à un document (exp de doc : https://ecm.univ.fr/nuxeo/nxdoc/default/2c9b5dfab49d975e3a45d5f8bcc3c3a0/view_documents ) ?

Je vous remercie de votre aide.

Bien cordialement, Amel.

1 ACCEPTED ANSWER

Rodri_
Star Contributor
Star Contributor

Hello,

I think it is not possible, as the UUID is the ID of the document, and the name of the documents stored in ${nuxeo.data.dir}/binaries is the digest (MD5 by default) of the binaries. Also, if two documents have the same binary, only one binary will be stored in the ${nuxeo.data.dir}/binaries path, so there is no unique match between the UUID and the name of the binaries.

For more information about how binaries are stored read: https://doc.nuxeo.com/nxdoc/file-storage-configuration/

Regards.

View answer in original post

2 REPLIES 2

Rodri_
Star Contributor
Star Contributor

Hello,

I think it is not possible, as the UUID is the ID of the document, and the name of the documents stored in ${nuxeo.data.dir}/binaries is the digest (MD5 by default) of the binaries. Also, if two documents have the same binary, only one binary will be stored in the ${nuxeo.data.dir}/binaries path, so there is no unique match between the UUID and the name of the binaries.

For more information about how binaries are stored read: https://doc.nuxeo.com/nxdoc/file-storage-configuration/

Regards.

Hello,