<?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 Adding comments to folder from a script in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/adding-comments-to-folder-from-a-script/m-p/293353#M246483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to automate adding a comment when a folder is created. This way the folder can have a link to the CIFS windows share.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using folder rules and a custom script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the script I've managed to find my way to the 'discussion' object on the node but can't seem to find any actual comments on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockquote&amp;gt;comments = document.childAssocs["fm:discussion"][0];&amp;lt;/blockquote&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone got any ideas how to get the comments nodes from the document node?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or any other way that I can add a link to a folder when it's created so that users can easily jump from web interface to windows explorer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've manually created the following and it works great, but just wanting to automate it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g. A folder in alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockquote&amp;gt;&lt;/SPAN&gt;&lt;A href="http://alfresco-dev:8080/share/page/site/test-site/documentlibrary#filter=path|%2FClients|&amp;amp;page=1" rel="nofollow noopener noreferrer"&gt;http://alfresco-dev:8080/share/page/site/test-site/documentlibrary#filter=path|%2FClients|&amp;amp;page=1&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/blockquote&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;has a comment with a url:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockquote&amp;gt;\\alfresco-dev\alfresco\sites\test-site\documentlibrary\Clients\&amp;lt;/blockquote&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. it's really hard to google for answers to this as Comment, Discussion and Forum are all &amp;lt;em&amp;gt;really&amp;lt;/em&amp;gt; common words.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jul 2015 02:45:17 GMT</pubDate>
    <dc:creator>fat_kid</dc:creator>
    <dc:date>2015-07-28T02:45:17Z</dc:date>
    <item>
      <title>Adding comments to folder from a script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-comments-to-folder-from-a-script/m-p/293353#M246483</link>
      <description>Hi Everyone,I'm trying to automate adding a comment when a folder is created. This way the folder can have a link to the CIFS windows share.I'm using folder rules and a custom script.In the script I've managed to find my way to the 'discussion' object on the node but can't seem to find any actual co</description>
      <pubDate>Tue, 28 Jul 2015 02:45:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-comments-to-folder-from-a-script/m-p/293353#M246483</guid>
      <dc:creator>fat_kid</dc:creator>
      <dc:date>2015-07-28T02:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding comments to folder from a script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-comments-to-folder-from-a-script/m-p/293354#M246484</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;Do you know now how to do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 13:10:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-comments-to-folder-from-a-script/m-p/293354#M246484</guid>
      <dc:creator>nancygaillard</dc:creator>
      <dc:date>2015-10-07T13:10:48Z</dc:date>
    </item>
  </channel>
</rss>

