<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Changing ecm name in automation chain in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/changing-ecm-name-in-automation-chain/m-p/326914#M13915</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I was wondering how you change a document name from an automation chain? I am trying the following, but running into an error:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;- Document.SetProperty:
    xpath: "ecm:name"
    value: "testNewDocName"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When this chain executes, I am met with the following error:
&lt;CODE&gt;org.nuxeo.ecm.core.api.model.PropertyNotFoundException: Failed to invoke operation Document.SetProperty, No such schema, ecm:name&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;I also tried using 'system:name' as the schema and was met with the same error.&lt;/P&gt;
&lt;P&gt;Any help would be appreciated, thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 11 Oct 2019 16:54:03 GMT</pubDate>
    <dc:creator>Matthew_Roy</dc:creator>
    <dc:date>2019-10-11T16:54:03Z</dc:date>
    <item>
      <title>Changing ecm name in automation chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/changing-ecm-name-in-automation-chain/m-p/326914#M13915</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I was wondering how you change a document name from an automation chain? I am trying the following, but running into an error:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;- Document.SetProperty:
    xpath: "ecm:name"
    value: "testNewDocName"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When this chain executes, I am met with the following error:
&lt;CODE&gt;org.nuxeo.ecm.core.api.model.PropertyNotFoundException: Failed to invoke operation Document.SetProperty, No such schema, ecm:name&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;I also tried using 'system:name' as the schema and was met with the same error.&lt;/P&gt;
&lt;P&gt;Any help would be appreciated, thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 16:54:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/changing-ecm-name-in-automation-chain/m-p/326914#M13915</guid>
      <dc:creator>Matthew_Roy</dc:creator>
      <dc:date>2019-10-11T16:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ecm name in automation chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/changing-ecm-name-in-automation-chain/m-p/326915#M13916</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You should try with &lt;CODE&gt;ecm:path&lt;/CODE&gt; maybe.&lt;/P&gt;
&lt;P&gt;To my knowledge, we don't expose the name property.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 18:00:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/changing-ecm-name-in-automation-chain/m-p/326915#M13916</guid>
      <dc:creator>Gregory_Carlin</dc:creator>
      <dc:date>2019-10-11T18:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ecm name in automation chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/changing-ecm-name-in-automation-chain/m-p/326916#M13917</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I think that you should use "dc:title" instead of "ecm:name".&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 09:26:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/changing-ecm-name-in-automation-chain/m-p/326916#M13917</guid>
      <dc:creator>sonia-c</dc:creator>
      <dc:date>2019-10-14T09:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ecm name in automation chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/changing-ecm-name-in-automation-chain/m-p/326917#M13918</link>
      <description>&lt;P&gt;Correct. Name would correspond to the Title if it doesn't contain spaces, special characters etc...&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 09:42:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/changing-ecm-name-in-automation-chain/m-p/326917#M13918</guid>
      <dc:creator>Gregory_Carlin</dc:creator>
      <dc:date>2019-10-14T09:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ecm name in automation chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/changing-ecm-name-in-automation-chain/m-p/326918#M13919</link>
      <description>&lt;P&gt;I would try with Document.Move
&lt;A href="http://explorer.nuxeo.com/nuxeo/site/distribution/Nuxeo%20Platform%20LTS%202019-10.10/viewOperation/Document.Move" target="test_blank"&gt;http://explorer.nuxeo.com/nuxeo/site/distribution/Nuxeo%20Platform%20LTS%202019-10.10/viewOperation/Document.Move&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 11:41:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/changing-ecm-name-in-automation-chain/m-p/326918#M13919</guid>
      <dc:creator>Patrick_Abgrall</dc:creator>
      <dc:date>2019-10-16T11:41:26Z</dc:date>
    </item>
  </channel>
</rss>

