Arkivfunktionen

Vote:
 
Finns det något sätt att markera "Arkivera till sida" för en hel gren så att man slipper ange en arkivadress för varje sida? Kan det möjligen fungera att köra över den egenskapen med en dynamisk egenskap?
#11305
Feb 10, 2006 11:14
Vote:
 
I know that it is possible to archive a certain page type by a default dynamic property (eg. the page type "news page" should have a default archive "archive news"). This means that every article based on "news page" will be archived (unless its overridden).
#11696
Feb 11, 2006 13:14
Vote:
 
How is it possible to archive a certain page type ?  What steps need to be done?
#25457
Oct 27, 2008 11:07
Vote:
 

Hello,

This functionality isn't part of the ordinary Archive job so you'll have to write your own scheduled job.

Take a look at the ScheduledPluginAttribute in the SDK on how to write a scheduled job. In your job you can use logic there to move pages of a particular page type. To specify where the pages should be archived you can use the existing pagereference "PageArchiveLink" that is availiable on any page.

The Archive Function moves pages that have been instructed to move under Advanced Information - Archive to page. The page is moved when the date and time for Stop publish has passed. Note that if a parent page has a value for archiving, all the sub-pages will also inherit this property.

#25601
Oct 30, 2008 13:25
* 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.