Try our conversational search powered by Generative AI!

Problem when running "automatic archive" but not when running "manuel archive"

Vote:
 
I have a page with a property "ShowOnNewsList" that have to be set to false when a page is archived. To do so, I have implemented a listener on the "MovedPage" event in global.asax. This listener changes the property (ShowOnNewsList) to false if the destination = page.archivelink. It seems that this only works when running manuel archive, and not on the automatic archive. Could this exception be a coincident, or does the automatic archive trigger a different event?
#17588
Dec 05, 2006 9:24
Vote:
 
When thinking about it again, it is obvious that the scheduler takes care of the automatic archive, and therefor not affected by the listeners in global.asax. I'm still wondering how to implement a listener on the automatic event.
#18437
Dec 05, 2006 9:56
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.