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