cancel
Showing results for 
Search instead for 
Did you mean: 

Add a time expiration to a document

alessioa_
Champ in-the-making
Champ in-the-making
Hi, i'm studing the Alfresco functionality to use it for personal aim at the moment.
I would like to know if it's possible to add a time expiration to a document and eventually send a memo by e-mail when the time expiration is near.
If it's possible how can realize it? i haven't found nothing about it…

Thanks to all the folks
Alessio A.
2 REPLIES 2

doc
Champ in-the-making
Champ in-the-making
Hi,

You could apply effectivity aspect defined in standard contentmodel.xml to your content.

      <aspect name="cm:effectivity">
         <title>Effectivity</title>
         <properties>
            <property name="cm:from">
               <title>Effective From</title>
               <type>d:datetime</type>
            </property>
            <property name="cm:to">
               <title>Effective To</title>
               <type>d:datetime</type>
            </property>
         </properties>
      </aspect>
For that, you have to configure your web-client-config-custom.xml to
- add effectivity aspect to the list off available aspects
- add aspects effective from and effective to properties to be able to modify them using web client
- define some scheduled rules to manage expiration

Hope this help

Regards

andy
Champ on-the-rise
Champ on-the-rise
Hi

You can define a scheduled action to do what you described, so long as you have an aspect that stores suitable information.

Regards

Andy