Home

 

Configure the size of the mini reports-to chain

The mini reports-to chain that displays in a user's profile provides information about the people that the user reports to. You can configure the size of the reports-to chain to display the number of people that you want by configuring settings in the widgets-config.xml file.

To edit configuration files, use wsadmin. See Start the wsadmin client for information about how to start the wsadmin command-line tool.


To configure the size of the mini reports-to chain...

  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. Open the widgets-config.xml file in a text editor.

  4. Look for the widgetDef element that contains the reportStructure attribute. It should look similar to the following:

      <widgetDef defId="reportStructure" url="{profilesContextRoot}/widget-catalog/report-chain.xml">
         <configData>
             <attr key="numberOfNameToDisplay" value="4" />
         </configData>
      </widgetDef>
      

  5. To change the number of people that display in the mini reports-to chain, modify the value of the numberOfNameToDisplay attribute. For example:

      <attr key="numberOfNameToDisplay" value="5" />
      

  6. Save your changes and check the widgets-config.xml file back in...

    ProfilesConfigService.checkInWidgetConfig()

  7. To exit wsadmin, type

    exit

    at the prompt.

  8. Stop and restart the Profiles server.


Administer Profiles


+

Search Tips   |   Advanced Search