AnsweredAssumed Answered

predefined evaluator wont work

Question asked by michaelp on Jul 6, 2014
Latest reply on Aug 13, 2014 by dswenson
Alfresco 4.2.2

Hi, I cant get the evaluator working.

Here my share-config-custom.xml

<?xml version="1.0" encoding="UTF-8"?>

    <!– shows the email action on share –>
   <config evaluator="string-compare" condition="DocLibActions">
           <action id="doclib.action.azm"
                 <param name="function">onActionHandIn</param>
                 <param name="successMessage">message.success</param>
                 <param name="failureMessage">message.failure</param>
        <!– defines the action to be shown in document-details and the repository-browser –>
            <actionGroup id="document-browse">
                <action index="400" id="doclib.action.azm"/>
            <actionGroup id="document-details">
                <action index="400" id="doclib.action.azm"/>
    <config evaluator="string-compare" condition="DocLibCustom">
            <js src="components/documentlibrary/azm-action.js"/>

And my custom-slingshot-application-context.xml

<?xml version='1.0' encoding='UTF-8'?>


   <!– Add application extension messages –>
   <bean id="resources" class="">
      <property name="resourceBundles">

   <bean id="evaluator.doclib.action.isMemberOfMycomp" parent="evaluator.doclib.action.groupMembership">
      <property name="groups">


Both files are in web-extension folder in maven project. Can someone help me please? I cant find any errors. The log stays empty. The Action wont show up, no matter if the user is a member of the specified group. The group has the id MYCOMP_MITARBEITER and the description MYCOMP Mitarbeiter. If a remove the evaluator the action is available.