cancel
Showing results for 
Search instead for 
Did you mean: 

Need help in using Launch and expire date

joeu
Champ in-the-making
Champ in-the-making
I have uploaded a web application to Alfresco web project and deployed to tomcat/webapps of production server.

My doubt here:
While submitting contents for deployment I saw "Launch Date" and "Expire Date" for contents. My query is that I want to make change on today but that should come to an effect from tomorrow and should expire on day after tomorrow.


Can any one throw some light on how to use it?  

Thanks in advance.
2 REPLIES 2

mvlach
Champ in-the-making
Champ in-the-making
Hello,

I think this is not possible. I need the same behaviour, but alfresco don't support this. When you set the launch date or expiration only an aspect is set. There exist dome bean called at 3:00 and this bean goes throught all repositories and when find a content with launch date expose them to the bashboard.

Please correct me I it is not true.

The solutions is (I think) to write own bean and connect to the deployer.

Thanks Mila

gavinc
Champ in-the-making
Champ in-the-making
No, this should be possible, launch and expiration are handled differently.

When you set a launch date the workflow created during the submission will wait until the date you entered to finally do the submission to the staging area, so this will give you the effective from tomorrow requirement. This will obviously only work if you are submitting via a worflow.

If you set an expiration date, then as Mila says an aspect gets set with the date on the items to expire, at 3am a query is done for any expired items, these are flagged and a workflow sent to the last user to modify the item. They can then deal with the expired item i.e. delete it.

If you want to chage the frequency of the expiration check see this wiki page: http://wiki.alfresco.com/wiki/Content_Expiration#Configuration