Remove Document Widget
Overview
The Remove Document widget is a content action widget that will allow you to remove one or multiple documents from a view, with an option to delete the source content.This widget will call the DeleteObjectByIdcontent services method. To add removed documents back simply reindex the content.
This option can be added to the bulk action menu to remove multiple files at the same time.
You can also choose to utilise the hard delete option which will delete the files from the source.
Note: You still need the required permissions to delete a file through Content Services.
Using the Remove Document Widget
-
To remove individual files click document action and select Remove From View
-
To remove multiple files use the check-boxes to select the files of check select all to remove all files in the search results and from the top menu click bulk actions and select Remove From View
-
(Optional) Check the hard delete box
-
Select Remove
Configuration
Widget Instance Example
-
Name: Remove Documents
-
Widget Definition Id: RemoveDocumentWidget
-
Field: na
-
Label: Remove From View
-
Bulk: true
-
Hard Delete: false
Configuration Options
-
bulk: If true, this option will be added to the Bulk Action menu.
-
Hard Delete: if true, you will be presented with the option to delete the source content of the file.
Preview
Remove individual file
Remove multiple files