IDOL View Component 12.13

# Delete All Documents from a Database

You can delete all documents from an IDOL Content component database either by sending a `DREDELBASE` action, or by using the IDOL Admin interface.

## Delete All Documents from a Database by Sending an Action

You can delete all documents from an IDOL Content component database by sending a `DREDELBASE` action (case sensitive) from your Web browser:

    http://ContentHost:indexPort/DREDELDBASE?DREDbName=databaseName

where:

`ContentHost` | is the IP address or host name of the machine on which the IDOL Content component is installed.
`indexPort` | is the IDOL Content component index port (specified as `IndexPort` in the `[Server]` section of the IDOL Content component configuration file).
`databaseName` | is the name of the database whose documents you want to delete.

For example:

    http://12.3.4.56:20001/DREDELDBASE?DREDbName=Archive

This action uses port `20001` to delete all documents from the `Archive` database on a machine with the IP address `12.3.4.56`.

NOTE: This index action does not complete if the configuration file is read-only.

## Delete All Documents from a Database by using IDOL Admin

Use the following procedure to delete all documents from a database by using the IDOL Admin interface.

To delete all documents from a database by using IDOL Admin

1. In the Control menu, click Databases.

2. In the Database Control column, click next to the database from which you want to delete documents.

   The Delete Documents dialog box opens.

3. Click Delete.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL View Component 12.13

Topic Title: Delete All Documents from a Database