<?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: How to get tags of my document in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-tags-of-my-document/m-p/82602#M25375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var tags = document.properties["cm:taggable"];&lt;BR /&gt;for (var i = 0; i &amp;lt; tags.length ; i++){&lt;BR /&gt;&amp;nbsp;&amp;nbsp; var tagNodeRef = tags[i];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; logger.info('------------------------------------------- ' + tagNodeRef.properties["cm:name"]);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://connect.hyland.com/legacyfs/online/alfresco/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Apr 2019 08:15:32 GMT</pubDate>
    <dc:creator>francesco_forna</dc:creator>
    <dc:date>2019-04-24T08:15:32Z</dc:date>
    <item>
      <title>How to get tags of my document</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-tags-of-my-document/m-p/82599#M25372</link>
      <description>I want to get the Tags of my document (in javascript) so that i can&amp;nbsp;execute a script:example: If my document is tagged "test" execute the rest of my script .I know it is possible via the rules of the folder, but i want it via javascript like the case with categories:&amp;nbsp;var cats = document.properties["</description>
      <pubDate>Tue, 23 Apr 2019 10:24:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-tags-of-my-document/m-p/82599#M25372</guid>
      <dc:creator>imanez1</dc:creator>
      <dc:date>2019-04-23T10:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to get tags of my document</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-tags-of-my-document/m-p/82600#M25373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you have to inspect the cm:taggable aspect. This aspect is bound to tag noderefs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So document.properties["cm:taggable"] returns tag noderefs bound to the document node, such as&lt;CODE&gt; the cm:categories aspect.&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 15:30:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-tags-of-my-document/m-p/82600#M25373</guid>
      <dc:creator>francesco_forna</dc:creator>
      <dc:date>2019-04-23T15:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to get tags of my document</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-tags-of-my-document/m-p/82601#M25374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how to use that, can you give me an example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 17:47:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-tags-of-my-document/m-p/82601#M25374</guid>
      <dc:creator>imanez1</dc:creator>
      <dc:date>2019-04-23T17:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to get tags of my document</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-tags-of-my-document/m-p/82602#M25375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var tags = document.properties["cm:taggable"];&lt;BR /&gt;for (var i = 0; i &amp;lt; tags.length ; i++){&lt;BR /&gt;&amp;nbsp;&amp;nbsp; var tagNodeRef = tags[i];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; logger.info('------------------------------------------- ' + tagNodeRef.properties["cm:name"]);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://connect.hyland.com/legacyfs/online/alfresco/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2019 08:15:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-tags-of-my-document/m-p/82602#M25375</guid>
      <dc:creator>francesco_forna</dc:creator>
      <dc:date>2019-04-24T08:15:32Z</dc:date>
    </item>
  </channel>
</rss>

