AnsweredAssumed Answered

ContentServicePolicies.OnContentPropertyUpdatePolicy not raise event

Question asked by colandr on Feb 8, 2013
Latest reply on Feb 10, 2013 by colandr
Hello,

I have created a new aspect which should execute function when metadata is modified. In the init method I have

   
    
     this.policyComponent.bindClassBehaviour(
                ContentServicePolicies.OnContentPropertyUpdatePolicy.QNAME,
                ASPECT_CONTENT_HITS,
                new JavaBehaviour(this, "onContentPropertyUpdate", NotificationFrequency.TRANSACTION_COMMIT));
   


but the onContentPropertyUpdate function is never called when an attribute is modified (from web interface) whereas,
when the file is edited and saved (still on the web interface) , onContentPropertyUpdate is called with the "content" property name.

I precise that I'm a beginner in Alfresco but I have not found any topic related to my problem. My alfresco version is 4.0.e

Outcomes