+

Search Tips   |   Advanced Search

Disable the Public Communities view in Communities

We can control whether the Public Communities view is available in the organization's deployment of Communities by editing settings in communities-config.xml. We can disable the Public Communities view so that users can only see the restricted communities they belong to.

  1. Use the wsadmin client to access and check out the Communities configuration files.

  2. Access the Communities configuration files:

  3. Check out the Communities configuration files:

    To get cell name...

  4. Open communities-config.xml in a text editor.

  5. To disable the Public Communities view, add the following lines after the <comm:tagCloud> element and before the <comm:communityHandle> element:
    <!-- Community Page Configuration -->
    <comm:communityPages>
    <comm:item name="publicCommunities" value="disabled"/>
    </comm:communityPages> 

  6. Save the changes.

  7. After making changes, check the configuration files back in, and we must do so during the same wsadmin session in which you checked them out for the configuration changes to take effect. You must also stop and restart the Communities server. See Applying property changes in Communities for information about how to save and apply the changes.


Results

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 the page has been disabled displays.


Parent topic:
Administer Communities


Related:

Apply property changes in Communities