AnsweredAssumed Answered

Deleteed nodes should not get archived?

Question asked by jeyaa on Dec 24, 2010
Latest reply on Jun 10, 2014 by kzkamiya
Hi all,
If I delete any node, it's getting archived. But I dont want that. In UI I found that uncheck the "archive nodes", then its working fine. But I want to know how to do it in configuration. I have tried like this which is given in the link http://wiki.alfresco.com/wiki/Disabling_Document_Archival,

custom-repository-context.xml
<beans>
  <bean id="storeArchiveMap" class="org.alfresco.repo.node.StoreArchiveMap">
     <property name="archiveMap">
        <map>
           
        </map>
     </property>
  </bean>
</beans>

But while running the server, Null Pointer Exception occurs.

After that I have tried like giving sys:temporary. Its Working fine for my custom content model. But the folders are getting archived. I think i should add the aspect for cm:folder also. I dont know how to override the alfresco content model. So left it.:-)

Any suggesstions are welcomed. Please lemme know how to proceed?

Outcomes