<?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: Alfresco: Add a tag based on the location of the document in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-add-a-tag-based-on-the-location-of-the-document/m-p/312161#M265291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can get a node's path by &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;document.getQnamePath()&lt;BR /&gt;or&lt;BR /&gt;document.getDisplayPath()&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Although you can ,but I dont'think it is a good idea to set folder-structure as a tag.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Mar 2014 15:22:12 GMT</pubDate>
    <dc:creator>kaynezhang</dc:creator>
    <dc:date>2014-03-24T15:22:12Z</dc:date>
    <item>
      <title>Alfresco: Add a tag based on the location of the document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-add-a-tag-based-on-the-location-of-the-document/m-p/312160#M265290</link>
      <description>I've been struggling with a little script that should be easy to implement: I've added a rule on a folder that runs a script. The script should get the folderlocation of the uploaded or incoming document and add the location as a tag:var url = document.properties.locale.nodeRef;document.addTag(url);</description>
      <pubDate>Mon, 24 Mar 2014 15:01:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-add-a-tag-based-on-the-location-of-the-document/m-p/312160#M265290</guid>
      <dc:creator>robinho</dc:creator>
      <dc:date>2014-03-24T15:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco: Add a tag based on the location of the document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-add-a-tag-based-on-the-location-of-the-document/m-p/312161#M265291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can get a node's path by &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;document.getQnamePath()&lt;BR /&gt;or&lt;BR /&gt;document.getDisplayPath()&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Although you can ,but I dont'think it is a good idea to set folder-structure as a tag.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 15:22:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-add-a-tag-based-on-the-location-of-the-document/m-p/312161#M265291</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-03-24T15:22:12Z</dc:date>
    </item>
  </channel>
</rss>

