+

Search Tips   |   Advanced Search

Hide "Start a community" button from unauthenticated users


Overview

When users are logged in to Communities Start a Community button displays only when users have permissions to create a community. When users are not logged inis not possible to determine their level of access. Howeveradministrator can enable or disable the display of the button globally for all anonymous users by configuring the show.startCommunity.To.Unauthenticated property in the Communities configuration file.

Users must have the community-creator role in order to create communities. For more information about this role Roles.


Configure show.startCommunity.To.Unauthenticated

  1. Check out the Communities configuration files :

    To determine cell name: print AdminControl.getCell()

  2. Check current setting:

    Look for the following property in the output that displays:

      show.startCommunity.To.Unauthenticated.enabled = true

  3. To change the value of the show.startCommunity.To.Unauthenticated property the following command:

    CommunitiesConfigService.updateConfig("property"lue") where

    • property is one of the editable Communities configuration properties.

    • value is the new value with which to set that property.

    The following table displays information regarding the show.startCommunity.To.Unauthenticated property and the type of data that we can enter for it.

    Property Description
    show.startCommunity.To.Unauthenticated When enableds property displays "Start a Community" button to unauthenticated users.

    true or false

    For example:

      CommunitiesConfigService.updateConfig("show.startCommunity.To.Unauthenticated"lse")

  4. check the configuration files back in and we must do so during the same wsadmin session in which you checked them out for the changes to take effect. See Applying property changes for details. must check the configuration files back in we must do so during the same wsadmin session in which you checked them out for the changes to take effect. See Applying property changes in Communities for information about how to save and apply the changes.


Parent topic:
Administer Communities


Related:

Apply property changes in Communities

Related reference:

Roles