<?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 Evaluator in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-evaluator/m-p/258972#M212102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The evaluator always returns true. However, in your use of the evaluator you negate the output by using the attribute &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;negate="true"&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;. This means that the output of the evaluator is inverted. Therefore, true = false and the action doesn't show.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you make the evaluator return false, or leave out the negate attribute or set it to false, the action should show up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jan 2014 14:07:28 GMT</pubDate>
    <dc:creator>mtielemans</dc:creator>
    <dc:date>2014-01-06T14:07:28Z</dc:date>
    <item>
      <title>Custom Action Evaluator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-evaluator/m-p/258971#M212101</link>
      <description>I am having a problem with a custom evaluator.&amp;nbsp; I have an action in my share-config-custom.xml:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;action id="sammy.actions.writeToLog"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; icon="log_write"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type="javascript"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label="actions.sammy.writeToLog"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name="function"&amp;gt;onActionSi</description>
      <pubDate>Thu, 13 Dec 2012 19:00:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-evaluator/m-p/258971#M212101</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2012-12-13T19:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Action Evaluator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-evaluator/m-p/258972#M212102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The evaluator always returns true. However, in your use of the evaluator you negate the output by using the attribute &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;negate="true"&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;. This means that the output of the evaluator is inverted. Therefore, true = false and the action doesn't show.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you make the evaluator return false, or leave out the negate attribute or set it to false, the action should show up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 14:07:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-evaluator/m-p/258972#M212102</guid>
      <dc:creator>mtielemans</dc:creator>
      <dc:date>2014-01-06T14:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Action Evaluator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-evaluator/m-p/258973#M212103</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;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I have also tried for making a custom evaluator so that it should restrict the articular action in share for nly some folders. I have explained the error in the below text file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me with this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 14:22:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-evaluator/m-p/258973#M212103</guid>
      <dc:creator>mrinal3199</dc:creator>
      <dc:date>2014-02-03T14:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Action Evaluator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-evaluator/m-p/258974#M212104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try moving your JAR to $TOMCAT_HOME/webapps/share/WEB-INF/lib instead of using $TOMCAT_HOME/shared/lib.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 18:06:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-evaluator/m-p/258974#M212104</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2014-02-04T18:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Action Evaluator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-evaluator/m-p/258975#M212105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your time jpotts!! But my jar is there only in tomcat\webapps\share\WEB-INF\lib… and i have all the required jars in buildpath of eclipse and those are present here also in the same path…I dn't understand where i went wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 06:30:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-evaluator/m-p/258975#M212105</guid>
      <dc:creator>mrinal3199</dc:creator>
      <dc:date>2014-02-06T06:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Action Evaluator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-evaluator/m-p/258976#M212106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From my understanding the evaluator class you created is not there in your JAR, make sure your build was successful and contains this class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 13:20:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-evaluator/m-p/258976#M212106</guid>
      <dc:creator>mani</dc:creator>
      <dc:date>2014-02-06T13:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Action Evaluator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-evaluator/m-p/258977#M212107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi mani,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Thanks for your reply. That is what i am not understanding. Actually i have this java class in share jar in package as "org.alfresco.web.evaluator.doclib.action". And i have build this jar and placed it in "C:\tmcat\Webaps\share\WEB-INF\lib". I don't know where i am wrong. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 10:01:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-evaluator/m-p/258977#M212107</guid>
      <dc:creator>mrinal3199</dc:creator>
      <dc:date>2014-02-10T10:01:08Z</dc:date>
    </item>
  </channel>
</rss>

