Create and populating communities 

Create and populate a community using scripts accessed using the wsadmin command-line tool. The administrative commands for creating communities do not require a server restart to take effect, and no file checkout is necessary.

Before you begin

To use administrative commands, use the wsadmin client. See Starting the wsadmin client for details.

About this task

You can use wsadmin commands to create a community and populate it with a set of members based on user login name or email address. Note that you can only add individuals to a community; you cannot add a group to a community.

The communities created using the commands below allow public access. However, community owners can edit the communities from the Communities user interface after they are created and change the access level to moderated or restricted as needed.


To create and populate a new community...

  1. From the dmgr host:

      cd $DMGR_PROFILE/bin
      ./ -jython

      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.

  • Use the following commands to create a community and populate it with a set of members:

    Parent topic

    Administer Communities

    Related tasks

    Add owners and members to a community