Changing ecm name in automation chain
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!
Hi,
I think that you should use “dc:title” instead of “ecm:name”.
I would try with Document.Move http://explorer.nuxeo.com/nuxeo/site/distribution/Nuxeo%20Platform%20LTS%202019-10.10/viewOperation/Document.Move