Disable trash bin in Wikis
Change an attribute in the configuration properties to disable the trash bin in Wikis. It is enabled by default.
Before starting
To edit configuration files, use the IBM WAS wsadmin client. See Starting the wsadmin client for information about how to start the wsadmin command-line tool.
About this task
Perform the following steps to disable trash bin in Wikis:
Procedure
- Start the wsadmin client.
- Start the Wikis Jython script interpreter.
- Access the Wikis configuration files:
execfile("wikisAdmin.py")If you are asked to select a server, you can select any server.
- Check out the Wikis configuration files using the following command:
WikisConfigService.checkOutConfig("<working_directory>", "<cell_name>")
where:
- <working_directory> is the temporary working directory to which the configuration XML and XSD files are copied. The files are kept in this working directory while you make changes to them.
Note: AIX and Linuxâ„¢ only: The directory must grant write permissions or the command will not run successfully.
- <cell_name> is the name of the WAS cell hosting the IBM Connections application. This argument is required. If you do not know the cell name, you can determine it by typing the following command in the wsadmin command processor:
print AdminControl.getCell()
For example:
WikisConfigService.checkOutConfig("/opt/my_temp_dir", "CommServerNode01Cell")
- Open wikis-config.xml.
- In the <recyclebin> element, specify the enabled attribute as false.
Example
For example:
.... <recyclebin enabled="false"> </recyclebin> ....Related reference
Wikis configuration properties
});