<?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 Iterating over node properties in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/iterating-over-node-properties/m-p/240539#M193669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this will sound dumb to most of you… but since one day passed and still can't figure out… here I am asking for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have this webscript where the javascript part fetches some nodes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the template, I can iterate the nodes easily. What puzzles me is… once I have the node, is there a way to iterate over properties (ex. child.properties) ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Oct 2010 20:14:23 GMT</pubDate>
    <dc:creator>theirish81</dc:creator>
    <dc:date>2010-10-25T20:14:23Z</dc:date>
    <item>
      <title>Iterating over node properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/iterating-over-node-properties/m-p/240539#M193669</link>
      <description>Hello everyone,this will sound dumb to most of you… but since one day passed and still can't figure out… here I am asking for your help.I have this webscript where the javascript part fetches some nodes.In the template, I can iterate the nodes easily. What puzzles me is… once I have the node, is the</description>
      <pubDate>Mon, 25 Oct 2010 20:14:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/iterating-over-node-properties/m-p/240539#M193669</guid>
      <dc:creator>theirish81</dc:creator>
      <dc:date>2010-10-25T20:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Iterating over node properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/iterating-over-node-properties/m-p/240540#M193670</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;here you can find some good examples &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/FreeMarker_Template_Cookbook#Document_Properties_Example" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/FreeMarker_Template_Cookbook#Document_Properties_Example&lt;/A&gt;&lt;SPAN&gt;, and here there is a macro that dump all properties &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=12&amp;amp;t=24607" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=12&amp;amp;t=24607&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 06:54:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/iterating-over-node-properties/m-p/240540#M193670</guid>
      <dc:creator>dc_noze</dc:creator>
      <dc:date>2010-10-26T06:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Iterating over node properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/iterating-over-node-properties/m-p/240541#M193671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Generally if you have the node reference already, then you can make a direct reference to the property, so say if you have in your javascript:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;var nodeList = space.getChildren();&lt;BR /&gt;&lt;BR /&gt;"Ben"= nodeList[0].property["cm:name"]&lt;BR /&gt;&lt;BR /&gt;nodeList.save();&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;That syntax isn't correct at all, but basically when you have the ScriptNode object (that can be a document, or a folder etc.) generally you already have access to its metadata.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 15:02:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/iterating-over-node-properties/m-p/240541#M193671</guid>
      <dc:creator>bengrah</dc:creator>
      <dc:date>2010-10-27T15:02:31Z</dc:date>
    </item>
  </channel>
</rss>

