Tuesday, August 14, 2012

Note on share node type evaluator

I noted that using the NodeTypeEvaluator for alfresco share 4.0, the subtypes configuration does not work if your bean configuration does not add DictionaryQuery bean ... no logging :( If you do not add it, the allowSubTypes=true does not work.

Snipplet defining a NodeTypeEvaluator (point in bold)

<bean id="myEvaluator" class="org.alfresco.web.evaluator.c">
  <property name="allowSubtypes" value="true" />
  <property name="dictionary" ref="slingshot.scriptprocessor.dictionaryQuery" />
      <property name="types">
         <list>
            <value>x:yz</value>
                ....
         </list>
      </property>
   </bean>