AnsweredAssumed Answered

how to use custom behavaiour when drop document into document library

Question asked by janaka1984 on Jan 15, 2017



I have used following spring XML to add custom property when upload files into a document library. it is working.  but updated value is not visible on time, I need to refresh the browser to see updated value


please give me hints short out this issue.




<bean id="onCreateSiteNode" class="org.alfresco.repo.policy.registration.ClassPolicyRegistration" parent="policyRegistration">
        <property name="policyName">
        <property name="className">
        <property name="behaviour">
           <bean class="org.alfresco.repo.jscript.ScriptBehaviour" parent="scriptBehaviour">
                        <property name="location">
                                <bean class="org.alfresco.repo.jscript.ClasspathScriptLocation">