How to rename a pdf at upload ?

Hello !

In the view layout of a document I'm using the element : “nuxeo-document-viewer”

I would like to know how is it possible to rename the file I upload when I do it ?

For example using the metadata of the file or anything else.

Thanks :)

0 votes

1 answers

833 views

ANSWER



Hello,

Basically, use the Document.SetProperty automation operation (either on dc:title or the file:content/name property) with the “about to create” or “document created” event handler.

0 votes