<?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: Custom action not working in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297367#M250497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It takes no parameters. All it has to do is print a message to the log file, logic will be added once the button is clickable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: The action works if invoked as part of a rule and also as a javascript action i.e. actions.create("bubble-click").&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2015 13:00:42 GMT</pubDate>
    <dc:creator>darkredd</dc:creator>
    <dc:date>2015-08-25T13:00:42Z</dc:date>
    <item>
      <title>Custom action not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297361#M250491</link>
      <description>Hi all,I am trying to create a share action, followed a few tutorials and famously Jeff Potts's creating custom action tutorial &amp;lt;a href="http://ecmarchitect.com/alfresco-developer-series-tutorials/actions/tutorial/tutorial.html#example-1-move-replaced"&amp;gt;here&amp;lt;/a&amp;gt; to no effect. Here is my s</description>
      <pubDate>Wed, 19 Aug 2015 07:31:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297361#M250491</guid>
      <dc:creator>darkredd</dc:creator>
      <dc:date>2015-08-19T07:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297362#M250492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got a similar effect when the action bean id was different than the action name in the share config:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;!– Spring context: custom bean action definition–&amp;gt;&lt;BR /&gt;&amp;lt;bean id="bubble-click" class="somepath/YourAction.java" parent="action-executer"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;!– share custom config: the name of the action should be equals to the id of your bean –&amp;gt;&lt;BR /&gt;&amp;lt;param name="action"&amp;gt;bubble-click&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it's not the cause of your error, I've got no idea.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 08:45:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297362#M250492</guid>
      <dc:creator>sammasue</dc:creator>
      <dc:date>2015-08-20T08:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297363#M250493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Sam,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The bean id is the same. This is a strange thing though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&lt;BR /&gt;&amp;lt;!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' '&lt;A href="http://www.springframework.org/dtd/spring-beans.dtd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/dtd/spring-beans.dtd&lt;/A&gt;'&amp;gt;&lt;BR /&gt;&amp;lt;beans&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;!– Add aspect custom action –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;bean id="bubble-click" class="za.gov.parliament.customActions.BubbleClick" parent="action-executer"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;property name="publicAction"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;value&amp;gt;false&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/bean&amp;gt;&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply, I will continue to look for a solution still.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 09:22:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297363#M250493</guid>
      <dc:creator>darkredd</dc:creator>
      <dc:date>2015-08-20T09:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297364#M250494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It would have been too easy if it was that. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Otherwise you could check that the action indexes are not in conflict with others (E.g. share-documentlibrary-config.xml) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;!– an example of existing action–&amp;gt;&lt;BR /&gt;&amp;lt;action index="110" id="document-view-content" /&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I'm not sure it has a real impact if you put two actions with the same index, it probably just take the last one in the list. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I notice you set publicAction to false, have you tried to keep the default value which is true (I'm not sure about this boolean).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 10:57:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297364#M250494</guid>
      <dc:creator>sammasue</dc:creator>
      <dc:date>2015-08-20T10:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297365#M250495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Public action only makes it available in the Rule config drop down list, which works from there. I have tried it even after clearing Alfresco's cache still no luck.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 06:57:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297365#M250495</guid>
      <dc:creator>darkredd</dc:creator>
      <dc:date>2015-08-25T06:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297366#M250496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have your &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;za.gov.parliament.customActions.BubbleClick&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; any parameter? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 09:11:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297366#M250496</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2015-08-25T09:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297367#M250497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It takes no parameters. All it has to do is print a message to the log file, logic will be added once the button is clickable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: The action works if invoked as part of a rule and also as a javascript action i.e. actions.create("bubble-click").&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 13:00:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297367#M250497</guid>
      <dc:creator>darkredd</dc:creator>
      <dc:date>2015-08-25T13:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297368#M250498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If invoked as a part of a rule or if invoked as a JavaScript action have no connection with Share webapp. The problem seems to be that Share does not find &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;bubble-click&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; action. If there are no params, the action ID is right and no client JavaScript error is thrown, it must be parameters in the definition. Try to complete declaration with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;param name="successMessage"&amp;gt;Success&amp;lt;/param&amp;gt;&lt;BR /&gt;&amp;lt;param name="failureMessage"&amp;gt;Failure&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 14:38:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297368#M250498</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2015-08-25T14:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297369#M250499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Omission of those two lines was the issue, it now works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lesson learned.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 15:16:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-not-working/m-p/297369#M250499</guid>
      <dc:creator>darkredd</dc:creator>
      <dc:date>2015-08-25T15:16:04Z</dc:date>
    </item>
  </channel>
</rss>

