Add the trash operation
Moving an asset to the trash does not immediately delete it, unlike when you click Delete . Instead, it remains available for a configurable delay before being permanently deleted. During this period, you can restore the asset or immediately and permanently delete it.
To configure Sitecore Content Hub, you must either be a superuser or have the necessary permissions granted to you through user group policies.
Before you can move assets to the trash, you must add the Move to trash operation to the Assets page.
To add the Move to trash operation to the Assets page:
-
On the menu bar, click Manage .
-
On the Manage page, click Pages.
-
On the Pages page, select the Assets page.
-
For the Selection component, ensure that the settings switch is set to Custom settings enabled .
-
Click the Selection component to open it.
-
On the Operations tab, in the M.asset pane, click Add operation.
-
In the list, click Move to trash.
-
In the Move to trash dialog, fill out the following fields:
Field
Description
Mandatory
Icon
Icon representing the operation. If you do not want to use the default icon for this operation, click it and choose an alternative.
Yes
Label
Name of the operation. If you do not want to use the default label for this operation, replace it with some custom text.
Yes
Confirmation dialog
Sets a confirmation screen. If you want users to confirm each time they move assets to the trash, turn on this switch.
No
-
Click Save.
-
On the Selection component page, click Save and close.