cancel
Showing results for 
Search instead for 
Did you mean: 

How to rename a pdf at upload ?

Maxime_
Confirmed Champ
Confirmed Champ

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 🙂

1 REPLY 1

Gregory_Carlin
Elite Collaborator
Elite Collaborator

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.