Dec 10, 2010

Alfresco AVM Store Policies

If you found yourself dealing with Alfresco 3.3.x or 3.4, you may've noticed that the AVM store does not fire any king of policies based events.

You can enable this by overwriting the avmNodeService bean in you own custom Spring context, like this:

 <bean id="avmNodeService" class="org.alfresco.repo.avm.AVMNodeService" init-method="init">
        <property name="dictionaryService">
            <ref bean="dictionaryService"/>
        <property name="avmService">
            <ref bean="avmService"/>
        <property name="policyComponent">
            <ref bean="policyComponent"/>
        <property name="tenantService">
            <ref bean="tenantService"/>
<property name="invokePolicies" value="true"/>

good thing you can overwrite beans in Spring...

No comments:

Post a Comment