Home

 

Manage forum trash

To retrieve or restore deleted content from the trash, you can use the CommForumTrashService commands to do so with immediate effect.


To use administrative commands, use wsadmin. See Start wsadmin for details.


If you change your mind about deleting content from a community's discussion forum, you can restore discussion topics from the trash. After a topic or topic response is deleted, the deleted content can be preserved if it is restored.

To manage trash from a community's discussion forum...

  1. Start wsadmin so that you can access the Communities configuration files.

    1. Access the Communities configuration files:

      If you are asked to select a server, you can select any server.

  2. Enter the following command to retrieve a list of the discussion topics and topic responses currently in the Trash view:

    CommForumTrashService.fetchTrash()

  3. Identify the discussion topic or topic response that you want to restore from the returned list.

  4. Enter the following command to restore the discussion topic or topic response:

    CommForumTrashService.undeleteTrash(Vector trash)

    where you specify the topic that you want to restore using the trash parameter.

  5. To permanently delete a specific discussion topic or topic response by removing it from the Trash view...

    CommForumTrashService.purgeTrash(java.util.Vector trashVector)

    where you specify the topic that you want to delete using the trashVector parameter.


Administer discussion forums


+

Search Tips   |   Advanced Search