Configuring the reporting structure feature
Edit settings in the profiles-policy.xml file to configure the reporting structure feature. You can specify whether a user's manager information is available and whether a manager's direct reports are available.
Before you begin
About this task
Procedure
The following steps provide information about the properties that you can set for
the reporting structure feature.
- Start the wsadmin client from the following
directory of the system on which you installed the Deployment Manager:
where app_server_root is the WebSphere® Application Server installation directory and dm_profile_root is the Deployment Manager profile directory, typically dmgr01.app_server_root\profiles\dm_profile_root\bin
You must start the client from this directory or subsequent commands that you enter do not execute correctly.
-
Start the Profiles Jython script interpreter.
-
Use the following command to check out the profiles-policy.xml
file:
where:ProfilesConfigService.checkOutPolicyConfig("<working_directory>", "cell_name")
- 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 directory while you make changes to them.
- cell_name is the name of the IBM® WebSphere® Application Server cell hosting the Profiles application. This argument is required.
ProfilesConfigService.checkOutPolicyConfig("/wsadminoutput", "jdoe30Node02Cell")
- Open the profiles-policy.xml file using a text editor, from the temporary directory to which you checked it out.
-
Edit the following properties for the reporting structure feature.
- profile.reportTo
Enables or disables the display of the user's report-to information on their profile page.
This property takes a string value. Possible values include:- true. Report-to information is available for the users with this profile type. The user interface displays the report-to information, and the user's service document contains the reporting structure links.
- false. Report-to information is not available for the users with this profile type. The report-to information is hidden. If you are disabling this option, consider also disabling the widget for all users in the widgets-config.xml file. For more information, see Managing widgets in Profiles.
For example, to enable the display of report-to information for users with the default profile type:<feature name="profile.reportTo"> <profileType type="default" enabled="true"> </profileType> </feature>
- profile.peopleManaged
Enables or disables the display of direct reports for managers with the specified profile type.
This property takes a string value. Possible values include:- true. People-managed information is available for the users with this profile type, when they are managers. The user interface displays the report-to information, and the user's service document contains the reporting structure links.
- false. People-managed information is not available for managers with this profile type. The user interface still displays the Report-to Chain widget, but with only the current profile owner shown. The people-managed information is hidden, as if the user does not have any direct reports.
For example, to enable the display of people-managed information for managers with the default profile type:<feature name="profile.peopleManaged"> <profileType type="default" enabled="true"> </profileType> </feature>
-
Save your changes and check the profiles-policy.xml file back in
using the following command:
ProfilesConfigService.checkInPolicyConfig()
- To exit the wsadmin client, type exit at the prompt.
- Stop and restart the Profiles server.