<?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 Getting all nodes of a given type in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-all-nodes-of-a-given-type/m-p/268876#M222006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear colleagues&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to get all nodes of a given type (not in given folder, but of a given type across al folders!), then to iterate it programmatically and to analyze value of some property for each document? Could you hint me piece of code, that do it or to give useful reference? Thanks in advance. I can not find example in manuals.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely, Iliya&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Dec 2010 11:41:13 GMT</pubDate>
    <dc:creator>itrub</dc:creator>
    <dc:date>2010-12-14T11:41:13Z</dc:date>
    <item>
      <title>Getting all nodes of a given type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-all-nodes-of-a-given-type/m-p/268876#M222006</link>
      <description>Dear colleaguesI want to get all nodes of a given type (not in given folder, but of a given type across al folders!), then to iterate it programmatically and to analyze value of some property for each document? Could you hint me piece of code, that do it or to give useful reference? Thanks in advanc</description>
      <pubDate>Tue, 14 Dec 2010 11:41:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-all-nodes-of-a-given-type/m-p/268876#M222006</guid>
      <dc:creator>itrub</dc:creator>
      <dc:date>2010-12-14T11:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all nodes of a given type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-all-nodes-of-a-given-type/m-p/268877#M222007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://wiki.alfresco.com/wiki/Iterate_Nodes" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Iterate_Nodes&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 12:24:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-all-nodes-of-a-given-type/m-p/268877#M222007</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2010-12-14T12:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all nodes of a given type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-all-nodes-of-a-given-type/m-p/268878#M222008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Loftux&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for your answer. But I need some refinement. Script, that you have referenced, take as "space"-value the current space, it was started from. I want to pass "space" to function explicitly, as parameter. How I can do that? Could you give some examples of calling codestring of this script with parameter, for example, from "Company Home" or some custom folder. Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely, Iliya&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 13:05:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-all-nodes-of-a-given-type/m-p/268878#M222008</guid>
      <dc:creator>itrub</dc:creator>
      <dc:date>2010-12-14T13:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all nodes of a given type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-all-nodes-of-a-given-type/m-p/268879#M222009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;May be, somebody knows how to solve that problem on Java, not on JavaScript. But, if not, I shall forced to use javascript, this is not fatal problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 13:08:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-all-nodes-of-a-given-type/m-p/268879#M222009</guid>
      <dc:creator>itrub</dc:creator>
      <dc:date>2010-12-14T13:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all nodes of a given type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-all-nodes-of-a-given-type/m-p/268880#M222010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just modify the code and pass in the starting node&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var mystartnode = utils.getNodeFromString(noderef) ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where noderef is a string of the noderef&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or you can do &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var mystartnode = companyhome.childByNamePath (string path);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then call &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;update(mystartnode);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/3.4_JavaScript_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/3.4_JavaScript_API&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I'm not insisting you do this in javascript, just happened to have an example for that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 13:17:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-all-nodes-of-a-given-type/m-p/268880#M222010</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2010-12-14T13:17:54Z</dc:date>
    </item>
  </channel>
</rss>

