cancel
Showing results for 
Search instead for 
Did you mean: 

Change document name or path before document created ?

sylvain_sam
Champ in-the-making
Champ in-the-making

The name (last part of its path) of a newly created Document is created from its dc:title (in nuxeo-document-create.js)

I have to compute title and name of documents from their other fields (type, date and sequence)

Is there a way to change it in an AutomationChain BerofeDocumentCreated ?

Changing the dc:title there won't change the document name, and I don't know how to set Document.name there.

Regards

2 REPLIES 2

Sébastien_Mehr
Champ on-the-rise
Champ on-the-rise

Hello,

Have you tried Document.SetBlobName operation ? https://explorer.nuxeo.com/nuxeo/site/distribution/Nuxeo%20Platform%20LTS%202019-10.10/viewOperation...

It seems to answer your problem.

Seb

Hello,

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.