Home

 

Delete wikis from the system

Use the WikisLibraryService delete commands to delete wikis.

Use wikis administrative commands to see wiki library information to help you decide what wikis to delete, for example the

WikisLibraryService.browseWiki

command returns a list of wikis with information on each wiki. Use the returned information to see which wikis have not been updated in a long time. See the topic Wikis administrative commands for detailed information.

In the Wikis database context, a library contains the pages, attachments, and other data that make up a wiki. Wikis can be owned by a person or a community. However, you should delete community libraries following steps in the topic Deleting orphaned data.

  1. Start the wsadmin client.

  2. Start the Wikis script with the following command:

  3. Network deployment:

      execfile("profile_root/config/bin_lc_admin/ wikisAdmin.py")
      

  4. Run one of these commands to delete libraries:

    • Run this command to delete a single library:

        WikisLibraryService.delete(libraryId)
        

    where libraryId is the library id in the following standard UUID format: 00000000-0000-0000-0000-000000000000.

  5. Run this command to delete multiple libraries:

      WikisLibraryService.deleteBatch(filePath)
      

    where filePath is the full path to a text file containing a list with a single library id per line in the following standard UUID format: 00000000-0000-0000-0000-000000000000. Create the file and save it in a local to the server where you are running the wsadmin processor.


Administer Wikis

 

Related tasks

Printing library information

Delete orphaned data

Printing library information

Start the wsadmin client


+

Search Tips   |   Advanced Search