<?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 Re: search.findNode() and Associations in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/search-findnode-and-associations/m-p/286354#M239484</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;nbsp; node.sourceAssocs just like you check for node.assocs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No.&amp;nbsp; Neither of these contains it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Mar 2013 16:46:56 GMT</pubDate>
    <dc:creator>ghernando</dc:creator>
    <dc:date>2013-03-09T16:46:56Z</dc:date>
    <item>
      <title>search.findNode() and Associations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-findnode-and-associations/m-p/286351#M239481</link>
      <description>I want to be able to find the working copy node associated with a checkedout document.I'm using Javascript and have a ScriptNode for the original document found by using search.findNode(nodeRef).When I use the node browser I see that the aspect cm:checkoutOut is set on the original node and that the</description>
      <pubDate>Tue, 05 Mar 2013 17:33:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-findnode-and-associations/m-p/286351#M239481</guid>
      <dc:creator>ghernando</dc:creator>
      <dc:date>2013-03-05T17:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: search.findNode() and Associations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-findnode-and-associations/m-p/286352#M239482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't remember ATM how associations are set, but you can check for node.sourceAssocs just like you check for node.assocs. This is a wild guess for now, but it should be a breeze to try.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 22:11:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-findnode-and-associations/m-p/286352#M239482</guid>
      <dc:creator>lista</dc:creator>
      <dc:date>2013-03-05T22:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: search.findNode() and Associations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-findnode-and-associations/m-p/286353#M239483</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;SPAN&gt;I used the below code to cancel the working copy of all the documents. Please have a look at this and this may&amp;nbsp; help you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var results = search.selectNodes("workspace://SpacesStore","descendant::*[hasAspect('cm:workingcopy')]");&lt;BR /&gt;logger.info("Total rows" + results.length);&lt;BR /&gt; for(var i=0;i&amp;lt;results.length;i++)&lt;BR /&gt; {&lt;BR /&gt; var node&amp;nbsp; = results&lt;EM&gt;; &lt;BR /&gt; var nodename = node.name;&lt;BR /&gt; node.cancelCheckout();&lt;BR /&gt;}&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://mralfresco.blogspot.in/2012/11/remove-working-copy-documents-in.html" rel="nofollow noopener noreferrer"&gt;http://mralfresco.blogspot.in/2012/11/remove-working-copy-documents-in.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 04:34:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-findnode-and-associations/m-p/286353#M239483</guid>
      <dc:creator>muralidharand</dc:creator>
      <dc:date>2013-03-06T04:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: search.findNode() and Associations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-findnode-and-associations/m-p/286354#M239484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;nbsp; node.sourceAssocs just like you check for node.assocs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No.&amp;nbsp; Neither of these contains it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Mar 2013 16:46:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-findnode-and-associations/m-p/286354#M239484</guid>
      <dc:creator>ghernando</dc:creator>
      <dc:date>2013-03-09T16:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: search.findNode() and Associations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-findnode-and-associations/m-p/286355#M239485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Murali – thanks for responding, but that's not what I'm looking for.&amp;nbsp; You are searching and finding the working copies for all documents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to be able to find the working copy associated with one particular document.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Mar 2013 16:49:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-findnode-and-associations/m-p/286355#M239485</guid>
      <dc:creator>ghernando</dc:creator>
      <dc:date>2013-03-09T16:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: search.findNode() and Associations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-findnode-and-associations/m-p/286356#M239486</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;Can you please try this and post your search.findNode() query also. So that, i will simulate the exact one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure, how much it is correct,but I got the working copy link. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; &lt;BR /&gt;logger.log("Original document " + document.assocs["cm:original"][0].nodeRef);&lt;BR /&gt;logger.log("workingcopylink document " + document.assocs["cm:original"][0].assocs["cm:workingcopylink"][0].nodeRef);&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 07:04:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-findnode-and-associations/m-p/286356#M239486</guid>
      <dc:creator>muralidharand</dc:creator>
      <dc:date>2013-03-11T07:04:29Z</dc:date>
    </item>
  </channel>
</rss>

