<?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 Path query issue in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/path-query-issue/m-p/41688#M22345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using path query to get the nodes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am creatinf nested folders like&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/folder1/folder2/document1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i.e folder1 conatins folder2 and folder2 constains document1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The query I am using is&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;PATH:"/cm:folder1/cm:folder2/cm:document1"&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This query works fine and I get the content node for document1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I change the name of folder1 to changedfolder using following code&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;namedValues = new NamedValue[] {new NamedValue(Constants.PROP_NAME, newName)};&lt;BR /&gt;CMLUpdate update = new CMLUpdate(namedValues, getPredicate(new String[] {folderId}), null);&lt;BR /&gt;CML cml = new CML();&lt;BR /&gt;cml.setUpdate(new CMLUpdate[]{update});&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the name of the node is changed properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I try to acces the nodes using their node id it works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But if I use the same query with the modified name it fails&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;PATH:"/cm:changedfolder/cm:folder2/cm:document1"&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there some other way to change the name of the node?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If this is the proper way to change the node name then querying the node doesn't work properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Santosh Prabhu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jul 2006 13:27:17 GMT</pubDate>
    <dc:creator>santosh</dc:creator>
    <dc:date>2006-07-17T13:27:17Z</dc:date>
    <item>
      <title>Path query issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/path-query-issue/m-p/41688#M22345</link>
      <description>Hi,I am using path query to get the nodes.I am creatinf nested folders like/folder1/folder2/document1i.e folder1 conatins folder2 and folder2 constains document1The query I am using isPATH:"/cm:folder1/cm:folder2/cm:document1"This query works fine and I get the content node for document1I change the</description>
      <pubDate>Mon, 17 Jul 2006 13:27:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/path-query-issue/m-p/41688#M22345</guid>
      <dc:creator>santosh</dc:creator>
      <dc:date>2006-07-17T13:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Path query issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/path-query-issue/m-p/41689#M22346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The path uses the association QNAME to the node, not the name property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The FileFolderService keeps these in sync.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The web service version of this is not available yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could keep the two in sync yourself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 13:46:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/path-query-issue/m-p/41689#M22346</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-07-17T13:46:41Z</dc:date>
    </item>
  </channel>
</rss>

