Home

 

Check out widgets-config.xml for Profiles


Overview

The widgets-config.xml file defines the widgets available for use in Profiles and Communities. To make custom widgets available, define the widgets in this file. You can also edit settings to configure the Recent Posts widget to only display tabs for the features included in your deployment.


Configure settings in widgets-config.xml for Profiles

  1. Use wsadmin to access the Profiles configuration files.

    1. Access the Profiles configuration files:

  2. Use the following command to check out the widget configuration file:

    ProfilesConfigService.checkOutWidgetConfig("<working_directory>", "cell_name")

    where:

    • <working_directory> is the temporary working directory to which the configuration XML and XSD files will be copied. The files are kept in this working while you make changes to them.

    • cell_name is the name of the WebSphere Application Server cell hosting the Profiles feature. This argument is required even in stand-alone deployments.

    For example:

      ProfilesConfigService.checkOutWidgetConfig("/wsadminoutput", "jdoe30Node02Cell")

  3. Navigate to the temporary in which you saved widgets-config.xml, and then open the file in a text editor and make the required changes.

  4. Save your changes and check widgets-config.xml back in...

    ProfilesConfigService.checkInWidgetConfig()

  5. To exit wsadmin, type

    exit

    at the prompt.

  6. Stop and restart the Profiles server.


Configure widgets in Profiles

 

Related tasks

Using widgets-config.xml for Communities


+

Search Tips   |   Advanced Search