cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Trashcan

raym
Champ in-the-making
Champ in-the-making
Hello,
Is there away to disable the trashcan completely?
Thank you
4 REPLIES 4

afaust
Legendary Innovator
Legendary Innovator
Hello,

it depends on what you mean by that: The complete disablement of any archiving Alfresco does or just hiding the Trashcan from the user interface? In case of the first option, do you want that to apply to every piece of content or just within a specific context / for a specific type?

Regards
Axel

raym
Champ in-the-making
Champ in-the-making
Hi Axel,
Preferably I would like to disable the trashcan so when a file is deleted it does not get placed in the trashcan.
Thank you
Ray

ddelapasse
Champ in-the-making
Champ in-the-making
I have this same desire.  Delete should delete and not archive (globally, no exceptions).  I tried adding this to the alfresco-global.properties file:
system.content.eagerOrphanCleanup=true

But that didn't help.  I still see the files in the "Manage Delete Items" via Explorer waiting in the recycle folder.

The OP had 4.2.e and I have 4.2.f.

afaust
Legendary Innovator
Legendary Innovator
Hello,

it is not really advisable to globally deactivate archiving since some functionality may rely on the behaviour and not work properly afterwars (e.g. SiteService). Technically, you could customize the data model (i.e. contentModel.xml) and add a tag <archive>false</archive> to each type / aspect you don't want archived. If model customization is not an option, you can apply the aspect sys:temporary on nodes during runtime and those also won't be archived.

Regards
Axel