When enabled, the Trash Can appears at the bottom of the repository tree. The Trash Can holds all artifacts or repository paths that have been deleted from local repositories. An administrator or user with Manage permissions can enable the Trash Can and configure its retention period. For more information, see Trash Can Settings.
The following actions are available on the Trash Can:
Search Trash Can
You can search the contents of the Trash Can to find deleted items.
Note
The contents of the Trash Can are filtered based on user permissions. This means that you can only view and manage Trash Can items that you have permissions for.
To search the contents of the Trash Can:
On the Artifacts page, in the repository tree, right-click Trash Can and select Search Trash Can. The Application Search at the top of the page populates with a
searchType:Trashoperator.Enter a search term.
Press Enter or click Search.
Empty Trash Can
Emptying the Trash Can permanently deletes all items currently in the Trash Can.
To empty the Trash Can:
On the Artifacts page, in the repository tree, right-click Trash Can and select Empty Trash Can. A confirmation message appears.
Click Confirm.
Refresh Trash Can
If you want to manually update the Trash Can to get an updated view of of its contents, you can refresh the Trash Can.
To refresh the Trash Can:
On the Artifacts page, in the repository tree, right-click Trash Can and select Refresh. The tree view and list of contents refreshes with the latest information.
Restore Deleted Items
If you accidentally deleted items from a local repository, you can restore them from the Trash Can within the specified retention period.
To restore items from the Trash Can:
On the Artifacts page, in the repository tree, click Trash Can to expand it and view the contents.
Do one of the following:
Right-click the item you want to restore and select Restore.
Select the item you want to restore. From the action menu in the artifact information, select Restore.
The Restore window appears.
Set any of the following options for the restoration:
Target Repository: Select the repository where you want to restore the item.
Restore to a Custom Path: Select the checkbox if you want to restore the item to a custom path within the selected repository, then enter the path in the Target Path field.
Click Restore.