Before you begin
To edit configuration files, you must use the IBM
® Application Server wsadmin client. See Starting the wsadmin client
About this task
You can disable the Public Communities view so that users can only see the restricted communities that they belong to.
- Use the wsadmin client to access and check out the Communities configuration files.
- Use the following command to access the Communities configuration files:
If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, you must pick the node where the file is stored.
- Check out the Communities configuration files using the following command:
- 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 WebSphere Application Server 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:
- Open communities-config.xml in a text editor.
- To disable the Public Communities page, add the following lines after the <comm:tagCloud> element and before the <comm:communityHandle> element:
<!-- Community Page Configuration -->
<comm:item name="publicCommunities" value="disabled"/>
- Save your changes.
- After making changes, you must check the configuration files back in, and you must do so during the same wsadmin session in which you checked them out for your configuration changes to take effect. You must also stop and restart the Communities server. See Applying property changes for information about how to save and apply your changes.
The disabled page no longer displays in the Communities user interface. If a user tries to navigate to the page by entering its URL directly into the address bar, a message indicating that the page has been disabled displays.
Parent topic: Administering Communities