<?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: By Default Rule apply on directory creation in document library in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/by-default-rule-apply-on-directory-creation-in-document-library/m-p/294873#M248003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jakeer, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes it's possible but it would be bad practice really, as effectively you'd be hard coding the site name into your behaviour (Java code).&amp;nbsp; You'd basically have a bif dirty if statement saying "only do the following if site name = "X".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'd be much better off using a rule based mechanism if you're talking about a single site, or a known set of sites, as you can choose to apply the rule only where you need to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Generally behaviours are better suited for system-wide actions and rules work better when you want to limit things to differently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steven&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2016 21:24:52 GMT</pubDate>
    <dc:creator>steven_okennedy</dc:creator>
    <dc:date>2016-05-13T21:24:52Z</dc:date>
    <item>
      <title>By Default Rule apply on directory creation in document library</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/by-default-rule-apply-on-directory-creation-in-document-library/m-p/294867#M247997</link>
      <description>I want to assign same rule for all the directories/folders like adding same custom Aspect in document library. Right now I am manually assigning the same rule for all newly created directories/folders. Here my question is it possible to set rule(adding the custom aspect) automatically on directories</description>
      <pubDate>Fri, 22 Apr 2016 13:30:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/by-default-rule-apply-on-directory-creation-in-document-library/m-p/294867#M247997</guid>
      <dc:creator>jakeer</dc:creator>
      <dc:date>2016-04-22T13:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: By Default Rule apply on directory creation in document library</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/by-default-rule-apply-on-directory-creation-in-document-library/m-p/294868#M247998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you mean that you want to automatically add a rule to each new folder that is created?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to have the same rule added to each folder, then you could add the rule to a higher level folder and have the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lower level folders inherit it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 15:12:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/by-default-rule-apply-on-directory-creation-in-document-library/m-p/294868#M247998</guid>
      <dc:creator>art99trash</dc:creator>
      <dc:date>2016-04-26T15:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: By Default Rule apply on directory creation in document library</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/by-default-rule-apply-on-directory-creation-in-document-library/m-p/294869#M247999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; Change Type&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; option in the folder details page. When the folder is changed into your custom type, you can hook up folder behavior folder rule in the Java side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know, if you're not clear.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 May 2016 03:19:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/by-default-rule-apply-on-directory-creation-in-document-library/m-p/294869#M247999</guid>
      <dc:creator>muralidharand</dc:creator>
      <dc:date>2016-05-07T03:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: By Default Rule apply on directory creation in document library</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/by-default-rule-apply-on-directory-creation-in-document-library/m-p/294870#M248000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jakeer, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If all the folders are in the same site or in a small number of sites, the easiest way is as art99trash mentioned and create a rule to set the aspect.&amp;nbsp; A lot of people don't realise, but using the Repository view, you can actually configure rules on the Document Library object itself (in the normal view you're already taken inside this node and can't get at it).&amp;nbsp; Doing this means that any folder created underneath the Document Library in a site will have the rule run.&amp;nbsp; You would need to do this on each site you want this done on, and there would still be a manual step for new sites.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other option, which is probably overkill, would be to create a custom behaviour that will fire on node creation for folders.&amp;nbsp; This would mean that you would always apply the aspect when a folder gets created, no matter where or when - this could well include folders created by Alfresco in some instances as well, so be aware (as I said, probably overkill but fully automated &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steven&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 13:04:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/by-default-rule-apply-on-directory-creation-in-document-library/m-p/294870#M248000</guid>
      <dc:creator>steven_okennedy</dc:creator>
      <dc:date>2016-05-09T13:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: By Default Rule apply on directory creation in document library</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/by-default-rule-apply-on-directory-creation-in-document-library/m-p/294871#M248001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah, but only in one particular site. Here all the folder will be higher level folder. What you have explained is I have already gone through while creating the rule for folder. Any how thanks for your reply&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 13:42:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/by-default-rule-apply-on-directory-creation-in-document-library/m-p/294871#M248001</guid>
      <dc:creator>jakeer</dc:creator>
      <dc:date>2016-05-13T13:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: By Default Rule apply on directory creation in document library</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/by-default-rule-apply-on-directory-creation-in-document-library/m-p/294872#M248002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank for your reply. In second way you explained, is it possible to apply only for a particular site?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 13:46:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/by-default-rule-apply-on-directory-creation-in-document-library/m-p/294872#M248002</guid>
      <dc:creator>jakeer</dc:creator>
      <dc:date>2016-05-13T13:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: By Default Rule apply on directory creation in document library</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/by-default-rule-apply-on-directory-creation-in-document-library/m-p/294873#M248003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jakeer, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes it's possible but it would be bad practice really, as effectively you'd be hard coding the site name into your behaviour (Java code).&amp;nbsp; You'd basically have a bif dirty if statement saying "only do the following if site name = "X".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'd be much better off using a rule based mechanism if you're talking about a single site, or a known set of sites, as you can choose to apply the rule only where you need to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Generally behaviours are better suited for system-wide actions and rules work better when you want to limit things to differently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steven&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 21:24:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/by-default-rule-apply-on-directory-creation-in-document-library/m-p/294873#M248003</guid>
      <dc:creator>steven_okennedy</dc:creator>
      <dc:date>2016-05-13T21:24:52Z</dc:date>
    </item>
  </channel>
</rss>

