<?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: add action in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/add-action/m-p/25128#M12382</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can create your own custom actions by extending Alfresco programatically. This is done in two parts: Extending the repository with your action (Java code), and extending the Alfresco Web Client to show your action and collect the necessary parameters for it (Java/JSP code).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should check out the abstract class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;org.alfresco.repo.action.executer.ActionExecuterAbstractBase.java&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;That class implements the action interface and takes care of most of the boilerplate functionality leaving you with two methods to implement: The first is the one that specifies the parameters you need to perform your action; and the second is the action implementation itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The best way to go about this is to look at an easy action, like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;org.alfresco.repo.action.executer.MoveActionExecuter.java&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;And leverage most of the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the Web Client side, look at this file for inspiration:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;web-client/source/web/jsp/wizard/create-action/actionmove.jsp&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Best of luck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Sumer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 May 2006 22:09:09 GMT</pubDate>
    <dc:creator>rivetlogic</dc:creator>
    <dc:date>2006-05-16T22:09:09Z</dc:date>
    <item>
      <title>add action</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-action/m-p/25127#M12381</link>
      <description>hello,how&amp;nbsp; can we add a new action?Thanks</description>
      <pubDate>Thu, 11 May 2006 07:40:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-action/m-p/25127#M12381</guid>
      <dc:creator>mannou</dc:creator>
      <dc:date>2006-05-11T07:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: add action</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-action/m-p/25128#M12382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can create your own custom actions by extending Alfresco programatically. This is done in two parts: Extending the repository with your action (Java code), and extending the Alfresco Web Client to show your action and collect the necessary parameters for it (Java/JSP code).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should check out the abstract class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;org.alfresco.repo.action.executer.ActionExecuterAbstractBase.java&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;That class implements the action interface and takes care of most of the boilerplate functionality leaving you with two methods to implement: The first is the one that specifies the parameters you need to perform your action; and the second is the action implementation itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The best way to go about this is to look at an easy action, like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;org.alfresco.repo.action.executer.MoveActionExecuter.java&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;And leverage most of the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the Web Client side, look at this file for inspiration:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;web-client/source/web/jsp/wizard/create-action/actionmove.jsp&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Best of luck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Sumer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 22:09:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-action/m-p/25128#M12382</guid>
      <dc:creator>rivetlogic</dc:creator>
      <dc:date>2006-05-16T22:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: add action</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-action/m-p/25129#M12383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you tell us how to configure the new actions ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2006 07:33:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-action/m-p/25129#M12383</guid>
      <dc:creator>hfrank</dc:creator>
      <dc:date>2006-07-24T07:33:46Z</dc:date>
    </item>
  </channel>
</rss>

