+

Search Tips   |   Advanced Search

Use widgets-config.xml for Communities

The widgets-config.xml files contains configuration settings for each of the widgets supported by Communities and Profiles. To update settings in the file, check the file out and, after making changes, check the file back during the same wsadmin session as the checkout for the changes to take effect.

The widgets-config.xml file defines the widgets available for use in Communities and specifies the life-cycle events associated with each widget. You also need to edit settings in this file to specify a different system user for managing widget life-cycle events.

To configure settings in widgets-config.xml for Communities.

  1. Check out widgets-config.xml :

    To get cell name...

  2. Edit widgets-config.xml

    The configuration settings for Communities appear following the section that begins with...

      <resource type="community"

  3. Apply the changes by doing the following:

    1. Check in the updated widgets-config.xml file:

      For example:

        CommunitiesConfigService.checkInWidgetsConfig("C:/tmp2","MyServerNode01Cell")

    2. To exit the wsadmin client, type exit at the prompt.

    3. Restart the Communities application using the WAS console.


Parent topic:
Administer widgets and remote applications


Related:
Specify different system users for widget life-cycle events
Enable custom widgets for Communities
Check out widgets-config.xml for Profiles