Recycle bin
The recycle bin feature and restoration of deleted content are available in the current version of Xperience by Kentico. If you’re using a version older than 30.12.0, deleted content cannot be recovered.
The recycle bin allows you to recover content that you accidentally removed. When you delete a page, a content item, an email or a headless item, it is moved to the recycle bin instead of being permanently deleted.
Restore deleted items
To restore an item from the recycle bin:
- Navigate to the Recycle bin application.
- Select the item you want to restore.
- The items in the recycle bin are permanently deleted after a period of time set by your administrator, so some items might no longer be available.
- You can only see the items deleted by you.
- Restore () the item.
- Contact activities and statistics won’t be available for restored emails.
- When a restored page or content item was linked in other content, those references will also be restored. See References to restored items for more information.
- References to restored headless items are not restored.
- Confirm the dialog to Restore the item.
The item is now restored to the initial Draft step in its original location. If a content item was originally in a folder that has since been deleted, you can find it under All content items.
If you’re not able to restore the item, see the Restore troubleshooting section.
Restored items can be used in other content
Check where restored pages and content items are used before publishing them, for example, on the Used in tab (see Track page usages and Track usage of content items). Not doing so can lead to the item appearing in unwanted places or to problems with publishing other content. See References to restored items for more information.
References to restored items
A page or a content item can be used in other content (pages, content items, emails, headless items) before it’s deleted. When the page or the content item is later restored, these references are restored as well. Once the restored item is published, other content can display the restored item.
For example, a home page links to other pages to show a preview of promoted articles. One of these article pages is deleted and since then, its preview is no longer visible on the home page. Later, the deleted article is restored. When it’s published, it appears on the live home page again.
This can create problems, for example if the article is outdated, or if the homepage is now configured to display fewer articles. For this reason, it’s necessary to check the usages of the restored item before publishing it. See Track page usages and Track usage of content items.
Hypertext links to items in the rich text editor are not restored if they were removed.
References to headless items are not restored.
Emails
Although emails cannot be used in other pieces of content, they can be selected to be automatically sent when certain actions happen, for example as an autoresponder email for form submissions. These selections are not automatically restored. To use the restored email again, you need to publish it and assign it again in the corresponding application.
Note that statistics and contact activities are not available for restored emails.
Permanently delete items from recycle bin
If you are sure you no longer need an item in the recycle bin, you can delete it permanently. If you don’t do it yourself, the item will be permanently deleted by the system after a time period set by your administrator.
To permanently delete an item from the recycle bin:
- Navigate to the Recycle bin application.
- Select the item you want to permanently delete.
- Delete () the item.
- Confirm the dialog to Delete permanently.
The item is now permanently deleted and cannot be restored.
Restore troubleshooting
If an item has been deleted for a long time, changes in other content might occur, which can sometimes prevent the item from being restored.
The following table lists the causes and the options you can try to restore the item.
|
Content items, headless items, pages |
|
|
Cause |
Solution |
|
Existing variant in the same language |
A new language variant in the same language was created since you deleted the item. The variant in the recycle bin can be restored when the existing one is deleted. Keep in mind that other users might be working on the currently used language variant. |
|
Pages |
|
|
Cause |
Solution |
|
Missing parent page |
If the page was created under a parent page, it cannot be restored without the parent. If the parent page is available in the recycle bin, try restoring it first. |
|
Missing Create permission |
Your permissions changed since you deleted the item. If you no longer have the Create permission for the page’s original location, you cannot restore the page. Contact your administrator to resolve the situation. |
|
Page scope change |
The scopes where pages of certain content types can be created have changed. Contact your administrator. |
|
URL collision |
An existing page is using the same URL as the one you are trying to restore. This issue can be resolved by changing the conflicting URL of the existing page. However, it is not currently possible to view the content of deleted items. Ask your administrator or a developer for assistance. |
In some cases, it is no longer possible to restore the item. Emails cannot be restored if their template (excluding preset templates), recipient list, or an associated contact group were deleted. Content items can no longer be restored when the workspace they were removed from was deleted.