Archive and restore an item

Current version: 8.1

You can archive items that you do not want to display on your website in the Content Editor. When you archive an item, it is not deleted but stored outside the content tree. Archived items can be restored at any time.

Archive an item immediately

To archive an item:

  1. In the Content Editor, in the content tree, navigate to the item that you want to archive.

    • If you want to archive a version of an item, click the Versions button and select the relevant version.

    • If you want to archive an item in a specific language, click the Language button and select the relevant language.

  2. To archive the item immediately, on the Review tab, in the Schedule group, click Archive:

    • To archive the item in all versions and languages, including all its subitems, click Archive item now.

    • To archive the current version and language of the item, click Archive version now.

  3. Save your changes.

    Note

    When you archive an item, it is removed from the content tree, but it remains on the published website. Therefore, you must republish your website to ensure that your changes are replicated on your website.

If there are links to the item you archive, the Breaking Links dialog box opens.

You can select an option to apply to all links. If you want, you can handle links individually and then apply one option to any remaining links.

  1. To open the list of breaking links, in the Breaking Links dialog box, click Edit Links.

  2. For each link, you can:

    • Edit the item containing the link

    • Remove the link

    • Link to another item

    Note

    If you do not handle a link individually, it remains in the list to be handled collectively.

  3. If you selected Link to another item, in the content tree, click the item that you want to link to instead. To update the link, click OK.

  4. In the Edit Links dialog box, click Close.

  5. In the Breaking Links dialog, select one of the following options to apply to any remaining links:

    • Remove links – remove all the links that exist to this page.

    • Link to another item – change all the links to this page to link to another item.

    • Leave links – leave broken links to this page. The links will be restored if you restore the item at a later time.

  6. Click Continue.

Archive an item at a later date

To archive an item:

  1. In the Content Editor, in the content tree, navigate to the item that you want to archive.

    • If you want to archive a version of an item, click the Versions button and select the relevant version.

    • If you want to archive an item in a specific language, click the Language button and select the relevant language.

  2. To schedule the archive of the item on a different date, on the Review tab, in the Schedule group, click Archive and then click Set archive date.

  3. In the Archive Date and Time dialog box, specify the date and time you want to archive the item.

    • In the Archive item section, specify the date and time that you want to archive the item including all its versions and subitems.

    • In the Archive version section, specify when you want to archive a specific version of the current item.

    When you set a date and time, it is important to remember that:

    • If you only specify a date, the item is archived at 12:00 midnight on that date.

    • If you only specify a time, the item is archived at that time on the current date.

    • If you specify a date or a time that is in the past, the item is archived the next time that Sitecore checks for items to archive.

  4. Click OK and save your changes.

    Note

    When you archive an item, it is removed from the content tree, but it remains on the published website. Therefore, you must republish your website to ensure that these changes are replicated on your website.

Restore an archived item

To restore a content item from the archive:

  1. In the Sitecore Desktop, click the Sitecore Start button , All Applications, and then click Archive.

  2. In the Archive dialog box, select the item that you want to restore.

    • To restore all versions and languages of an item, including the subitems, select the item from the list. You can only restore one item at a time.

    • To restore a version of an item, in the Options group, select Show Versions, click the item that contains the version that you want to restore and in the lower pane that appears, select one or more versions to restore.

      Note

      You can select and restore as many versions of the same item as you want.

  3. In the Items group, click Restore and the items are restored in the content tree.

Do you have some feedback for us?

If you have suggestions for improving this article,