Change document name or path before document created ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2020 05:10 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2020 06:13 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2020 03:05 AM
Hello,
