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...
Use wsadmin to access the Profiles configuration files.
- Access the Profiles configuration files:
- Stand-alone deployment:
execfile("profilesAdmin.py")
- Network deployment:
execfile("WAS_HOME/profiles/Dmgr01/config/bin_lc_admin/profilesAdmin.py")
- 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")
- Open the widgets-config.xml file in a text editor.
- 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>
- 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" />
- Save your changes and check the widgets-config.xml file back in...
ProfilesConfigService.checkInWidgetConfig()
- To exit wsadmin, type
exitat the prompt.
- Stop and restart the Profiles server.