<?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: Define rules inside a script in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/define-rules-inside-a-script/m-p/104702#M73144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looking forward for it &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2007 10:30:07 GMT</pubDate>
    <dc:creator>blackout</dc:creator>
    <dc:date>2007-04-17T10:30:07Z</dc:date>
    <item>
      <title>Define rules inside a script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/define-rules-inside-a-script/m-p/104699#M73141</link>
      <description>Good day everyone,simple question as stated in the subject: is it possible to define rules inside a script?I'm asking this because I'm using a script to create a template into "Company Home" -&amp;gt; "Data Dictionary" -&amp;gt; "Space Templates" folder, so that I can pack up everything for an easier deploy</description>
      <pubDate>Thu, 05 Apr 2007 14:12:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/define-rules-inside-a-script/m-p/104699#M73141</guid>
      <dc:creator>blackout</dc:creator>
      <dc:date>2007-04-05T14:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Define rules inside a script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/define-rules-inside-a-script/m-p/104700#M73142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is no API to do this no. However, in theory it is possible as rules (like 99% of all objects and concepts in Alfresco) are defined as nodes, aspects and properties. Therefore you would need to work out how rules are defined as aspects/properties and create the same objects against your space nodes. It will probably take some investigation!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 09:37:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/define-rules-inside-a-script/m-p/104700#M73142</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-04-16T09:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Define rules inside a script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/define-rules-inside-a-script/m-p/104701#M73143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually that's not quite true. You need the createAssoc() method support added to the JavaScript API in Alfresco 2.1 to create the associations between the rule/action nodes. So the answer is "yes you can in Alfresco 2.1, but it's still quite involved" &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; I expect we will wire up specific method to call the RuleService from JavaScript in a later release also.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 09:54:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/define-rules-inside-a-script/m-p/104701#M73143</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-04-17T09:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Define rules inside a script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/define-rules-inside-a-script/m-p/104702#M73144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looking forward for it &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 10:30:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/define-rules-inside-a-script/m-p/104702#M73144</guid>
      <dc:creator>blackout</dc:creator>
      <dc:date>2007-04-17T10:30:07Z</dc:date>
    </item>
  </channel>
</rss>

