cancel
Showing results for 
Search instead for 
Did you mean: 

Added expiry date to a content

surajit
Champ in-the-making
Champ in-the-making
Hi,
  We are deveoping a project which uses Alfresco as the Content Mangement tool. Our client wants that when a content is uploaded then some expiry date should be attached to the content. On expiry of the date we would have to do some custom functionilities e.g, send mail to the content admistrator or start a remedy ticket etc.

Could anybody please tell how I could add the expiry date when a content is getting uploaded.

Thanking in advance

Surajit
1 REPLY 1

kevinr
Star Contributor
Star Contributor
This is an ideal use case that Alfresco can solve. You can add a custom model with an extra property to represent your date value. You can then create a rule that adds the property to all content uploaded (or specific mimetypes of content or specifically named content if you prefer) and then you could setup a scheduled action (say that executes every hour) that searches the repository for content with the expired date property and executes a javascript action to perform emailing or logging of information as you require.

Take a look at these wiki pages for ideas:
http://wiki.alfresco.com/wiki/Data_Dictionary_Guide
http://wiki.alfresco.com/wiki/JavaScript_API
http://wiki.alfresco.com/wiki/Scheduled_Actions

Thanks,

Kevin