<?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: Adding Script using Create Rule in v.1.3 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40538#M21681</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am correct in understanding the event handler must be a compiled java class and can't be defined another way in the system, right?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;At the moment that's true - but thinking about it, now we have externally configurable actions in 1.3, it wouldn't be hard to add the ability to specify a script in the configuration to execute instead of a code based event handler! I'll see how much effort that would be to add for 1.3 final.&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, 23 May 2006 16:04:52 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2006-05-23T16:04:52Z</dc:date>
    <item>
      <title>Adding Script using Create Rule in v.1.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40531#M21674</link>
      <description>I'm working with the 1.3 version and it's great! &lt;IMG id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&amp;nbsp; I'm trying to create a rule which uses a script.&amp;nbsp; I cannot figure out how to store the script such that it is selectable from the drop-down of available scripts in the rule creation wizard.The wiki for the new Java Script feature mentions that a s</description>
      <pubDate>Mon, 22 May 2006 15:18:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40531#M21674</guid>
      <dc:creator>dvanberg</dc:creator>
      <dc:date>2006-05-22T15:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Script using Create Rule in v.1.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40532#M21675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi, have been working a little with 1.3 and like it too. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you place the script you want to execute in…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Company Home &amp;gt; Data Dictionary &amp;gt; Scripts ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 18:46:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40532#M21675</guid>
      <dc:creator>csiege</dc:creator>
      <dc:date>2006-05-22T18:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Script using Create Rule in v.1.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40533#M21676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the tip.&amp;nbsp; That did the trick!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 19:13:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40533#M21676</guid>
      <dc:creator>dvanberg</dc:creator>
      <dc:date>2006-05-22T19:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Script using Create Rule in v.1.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40534#M21677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please let us know how you get on with the scripting support. It's one of the most flexible new features for 1.3 so we'd appreciate any feedback.&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, 23 May 2006 08:53:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40534#M21677</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-05-23T08:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Script using Create Rule in v.1.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40535#M21678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Quick question…&amp;nbsp; I can see that the new scripting feature could really be powerful.&amp;nbsp; Especially for some worflows I need to put together.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally I would want to be able to add (selective to certain spaces/files and for certain groups) new action buttons that would execute scripts in the context of those spaces/files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this sound possible in v1.3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, great feature.&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;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 15:41:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40535#M21678</guid>
      <dc:creator>csiege</dc:creator>
      <dc:date>2006-05-23T15:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Script using Create Rule in v.1.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40536#M21679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes it should be possible. You can construct URLs to the command servlet that execute scripts at a known location and attach those URLs to your buttons. Of course you could also code up action handler methods for your buttons which call the script service directly (which may be preferable if you want to store your scripts on the classpath rather than in the repo).&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, 23 May 2006 15:49:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40536#M21679</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-05-23T15:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Script using Create Rule in v.1.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40537#M21680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not wanting to do to much custom coding just yet… would rather keep it at a scripting / configuration level.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am correct in understanding the event handler must be a compiled java class and can't be defined another way in the system, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for this info, its going to be very useful!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 15:56:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40537#M21680</guid>
      <dc:creator>csiege</dc:creator>
      <dc:date>2006-05-23T15:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Script using Create Rule in v.1.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40538#M21681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am correct in understanding the event handler must be a compiled java class and can't be defined another way in the system, right?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;At the moment that's true - but thinking about it, now we have externally configurable actions in 1.3, it wouldn't be hard to add the ability to specify a script in the configuration to execute instead of a code based event handler! I'll see how much effort that would be to add for 1.3 final.&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, 23 May 2006 16:04:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40538#M21681</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-05-23T16:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Script using Create Rule in v.1.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40539#M21682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That would be very useful!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We would need to be able to limit the action to a specific document or space.&amp;nbsp; Would that also be possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 16:31:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40539#M21682</guid>
      <dc:creator>dvanberg</dc:creator>
      <dc:date>2006-05-23T16:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Script using Create Rule in v.1.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40540#M21683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree, having this in place would put the pieces at hand to really fill a wide variety of custom situations quickly, easily… and outside the coding layer…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 16:37:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40540#M21683</guid>
      <dc:creator>csiege</dc:creator>
      <dc:date>2006-05-23T16:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Script using Create Rule in v.1.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40541#M21684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Kevin,&lt;BR /&gt;That would be very useful!&lt;BR /&gt;&lt;BR /&gt;We would need to be able to limit the action to a specific document or space.&amp;nbsp; Would that also be possible?&lt;BR /&gt;&lt;BR /&gt;Dave&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Many of the current externalised actions are specific to a space/document Id so yes.&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, 23 May 2006 16:40:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40541#M21684</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-05-23T16:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Script using Create Rule in v.1.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40542#M21685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't think there will be time to add support for a &amp;lt;script&amp;gt; element or similar in the external definition of an action. However saying that, configured actions support executing URLs when clicked (using the 'http' element) - using this in combination with URLs you create that call the &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/URL_Addressability#Script_Command_Processor" rel="nofollow noopener noreferrer"&gt;Script Command Servlet&lt;/A&gt;&lt;SPAN&gt; means you can call scripts with actions!&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>Wed, 24 May 2006 16:16:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-script-using-create-rule-in-v-1-3/m-p/40542#M21685</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-05-24T16:16:17Z</dc:date>
    </item>
  </channel>
</rss>

