Enable and disable the community handle 

Enable or disable the community handle depending on whether you want community owners to have the option of creating a unique web address for their community.


Before you begin

To update configuration files, use the wsadmin client. See Starting the wsadmin client for details.


About this task

When the community handle is enabled, the option of creating a unique community web address is provided in the Communities user interface when users create or edit a community or subcommunity. Community members can then use the web address to navigate directly to the community or subcommunity. The community handle feature is enabled by default when IBM Connections 3 or later is installed.


Procedure

To enable or disable the community handle, you need to update settings in the communities-config.xml file.

  1. From the dmgr host:

      cd $DMGR_PROFILE/bin
      ./wsadmin.sh -jython
      execfile("communitiesAdmin.py")

      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, pick the node where the file is stored.

  2. Check out the Communities configuration files using the following command:

      CommunitiesConfigService.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:

      CommunitiesConfigService.checkOutConfig("/opt/my_temp_dir", "CommServerNode01Cell")

  • Navigate to the working directory that you specified in the previous step and open the communities-config.xml file using a text editor.

  • To configure the handle, set the value of the enabled property for the communityHandle to true or false as needed.

  • After making changes, check the configuration files back in, and do so during the same wsadmin session in which you checked them out for the changes to take effect. See Apply property changes in Communities for information about how to save and apply your changes.


    Parent topic

    Administer Communities


    Related tasks


    Apply property changes in Communities


       

     

    });