<?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: Automatic category registration in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/automatic-category-registration/m-p/64207#M21897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;A very very basic example via content rule, based on filenames with existing tags or categories:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.zylk.net/en/web-2-0/blog/-/blogs/name-based-autocategorization-or-tagging-in-alfresco-via-content-rule" title="https://www.zylk.net/en/web-2-0/blog/-/blogs/name-based-autocategorization-or-tagging-in-alfresco-via-content-rule" rel="nofollow noopener noreferrer"&gt;- Name-based autocategorization or tagging in Alfresco via content rule - zylk&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2018 19:11:20 GMT</pubDate>
    <dc:creator>cesarista</dc:creator>
    <dc:date>2018-03-13T19:11:20Z</dc:date>
    <item>
      <title>Automatic category registration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/automatic-category-registration/m-p/64205#M21895</link>
      <description>Newbie question:&amp;nbsp;I'm using version of Aflresco Community - 5.2.0 (r135134-b14) I'm custmizing page of the document-details.&amp;nbsp;I could implement adding the category at the time of registration by adding the aspect.However, I want to automatically add it to the category based on the information of docum</description>
      <pubDate>Tue, 13 Mar 2018 08:19:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/automatic-category-registration/m-p/64205#M21895</guid>
      <dc:creator>yosk</dc:creator>
      <dc:date>2018-03-13T08:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic category registration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/automatic-category-registration/m-p/64206#M21896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use behaviour/policies. Behavior or policies are basically kind of action events of document.So if you would like to do something whenever the document is updated/created/delete , you can use this policies.There are lot many other behavior also available for example event of uploading the new version etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is nice blog written by &lt;B&gt;Jeff Potts&lt;/B&gt;‌.Please take a look on that for more details.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://ecmarchitect.com/alfresco-developer-series-tutorials/behaviors/tutorial/tutorial.html" title="https://ecmarchitect.com/alfresco-developer-series-tutorials/behaviors/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;Implementing Custom Behaviors in Alfresco | ECMArchitect | Alfresco Developer Tutorials&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 08:44:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/automatic-category-registration/m-p/64206#M21896</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2018-03-13T08:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic category registration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/automatic-category-registration/m-p/64207#M21897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;A very very basic example via content rule, based on filenames with existing tags or categories:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.zylk.net/en/web-2-0/blog/-/blogs/name-based-autocategorization-or-tagging-in-alfresco-via-content-rule" title="https://www.zylk.net/en/web-2-0/blog/-/blogs/name-based-autocategorization-or-tagging-in-alfresco-via-content-rule" rel="nofollow noopener noreferrer"&gt;- Name-based autocategorization or tagging in Alfresco via content rule - zylk&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 19:11:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/automatic-category-registration/m-p/64207#M21897</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2018-03-13T19:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic category registration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/automatic-category-registration/m-p/64208#M21898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The simplest way: you could add rules to folders that get triggered if you create, change,... documents in these folders or their subfolders.&lt;/P&gt;&lt;P&gt;Your are able to use Aspect-Properties and their values to link categories to your document:&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://docs.alfresco.com/community/references/rule-actions.html" title="https://docs.alfresco.com/community/references/rule-actions.html" rel="nofollow noopener noreferrer"&gt;Rule actions | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harder, but more flexible:&lt;/P&gt;&lt;P&gt;Also you are able to&amp;nbsp;execute a java-script (placed in data dictionary/scripts) that get's the triggering document injected. You can access the properties with the document.properties[...] object/array&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/community/references/rule-actions.html" title="https://docs.alfresco.com/community/references/rule-actions.html" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/community/references/rule-actions.html&lt;/A&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/community/references/API-JS-ScriptNode.html" title="https://docs.alfresco.com/community/references/API-JS-ScriptNode.html" rel="nofollow noopener noreferrer"&gt;ScriptNode API | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;finding your category is a bit complicated:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/community/references/API-JS-Classification.html" title="https://docs.alfresco.com/community/references/API-JS-Classification.html" rel="nofollow noopener noreferrer"&gt;Classification API | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;once found you can add it via document.properties["cm:categories"]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you need real complex actions and have to get control over the values before and after the update, you need to implement a behaviour using java, like &lt;A __default_attr="97982" __jive_macro_name="user" _jive_internal="true" data-id="97982" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/krutik.jayswal" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;‌ described&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 19:25:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/automatic-category-registration/m-p/64208#M21898</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2018-03-13T19:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic category registration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/automatic-category-registration/m-p/64209#M21899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cesar, you were faster - again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 19:26:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/automatic-category-registration/m-p/64209#M21899</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2018-03-13T19:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic category registration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/automatic-category-registration/m-p/64210#M21900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="" data-fulltext="" data-placeholder="翻訳" dir="ltr" style="color: #212121; background-color: #ffffff; border: none; font-size: 16px !important; padding: 0px 0.14em 0px 0px;"&gt;&lt;SPAN lang="en"&gt;Thanks Krutik Behaviour&lt;BR /&gt; policies is likely to be useful.&lt;BR /&gt; Is it better to implement new categories here?&lt;BR /&gt;Thanks Cesar&lt;BR /&gt;&amp;nbsp; Automatic registration to the created category worked fine.&lt;BR /&gt;Thanks Martin&lt;BR /&gt; &amp;nbsp;&amp;nbsp;A link to the API is also helpful. Thank you.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 07:47:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/automatic-category-registration/m-p/64210#M21900</guid>
      <dc:creator>yosk</dc:creator>
      <dc:date>2018-03-20T07:47:41Z</dc:date>
    </item>
  </channel>
</rss>

