Disabling Document Archival

From AlfrescoWiki

Jump to: navigation, search

Back to Server Configuration

[edit] Introduction

By default, all documents or folders that aren't tagged with the sys:temporary aspect will be archived when deleted. If this functionality is not required, it can be disabled.

This page assumes knowledge of how to extend the repository configuration and override properties: Repository Configuration

[edit] Remove the Archive Mapping

Override the storeArchiveMap bean in one of the extension configuration files:

<ext-config>/alfresco/extension/custom-repository-context.xml

  <bean id="storeArchiveMap" class="org.alfresco.repo.node.StoreArchiveMap">
     <property name="archiveMap">
        <map>
        </map>
     </property>
  </bean>



Back to Server Configuration