- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2019 12:54 PM
Hi,
I was wondering how you change a document name from an automation chain? I am trying the following, but running into an error:
- Document.SetProperty:
xpath: "ecm:name"
value: "testNewDocName"
When this chain executes, I am met with the following error:
org.nuxeo.ecm.core.api.model.PropertyNotFoundException: Failed to invoke operation Document.SetProperty, No such schema, ecm:name
I also tried using 'system:name' as the schema and was met with the same error.
Any help would be appreciated, thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2019 05:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2019 02:00 PM
Hello,
You should try with ecm:path
maybe.
To my knowledge, we don't expose the name property.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2019 05:26 AM
Hi,
I think that you should use "dc:title" instead of "ecm:name".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2019 05:42 AM
Correct. Name would correspond to the Title if it doesn't contain spaces, special characters etc...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2019 07:41 AM
I would try with Document.Move http://explorer.nuxeo.com/nuxeo/site/distribution/Nuxeo%20Platform%20LTS%202019-10.10/viewOperation/...
