Home

 

Customizing the Profiles user interface

Specify which attributes should display in Profiles based on the needs of your organization.

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


Once you have decided which of the Profiles attributes you would like to display and which ones you want to allow users to edit, you are ready to configure the attributes, using wsadmin scripts for customizing Profiles. These steps provide an overview..

A configuration change requires synchronization of the Profiles node and a restart of the Profiles server to become effective. The configuration changes being made are only for the node specified when you perform the checkOutConfig command. To make those changes to other nodes, then you need to repeat this process for the other nodes.

To change Profiles configuration settings to customize the user interface...

  1. Use wsadmin to access and check out the Profiles configuration files.

    1. Access the Profiles configuration files:

    2. Check out the Profiles configuration files...

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

      where:

      • <working_directory> is the temporary working directory to which the configuration XML and XSD files are copied and are stored while you make changes to them. Use forward slashes to separate directories in the file path, even if you are using the Microsoft Windows operating system.

      • cell_name is the name of the WebSphere Application Server cell hosting the Profiles feature. This argument is required even in stand-alone deployments. This argument is case-sensitive, so type it with care. If you do not know the cell name, do one of the following to determine it:

        • Stand-alone deployment: See:

          WAS_HOME\profiles\profile_name\config\cells\

        • Network deployment: From wsadmin...

          print AdminControl.getCell()

      For example:

      • AIX/Linux:

          ProfilesConfigService.checkOutConfig("/opt/prof/temp","foo01Cell01")
          

    3. Microsoft Windows:

        ProfilesConfigService.checkOutConfig("c:/prof/temp","foo01Cell01")
        

  2. Although you should try to avoid directly editing XML configuration files, and use appropriate wsadmin commands to modify features, this is one area where commands are not available. Locate the Profiles configuration file, profiles-config.xml, in the local working specified in the checkOutConfig command. The Profiles configuration file contains the various configuration settings for the Profiles feature. Here is the relevant section for customizing the Profiles user interface:

      <layoutConfiguration> 
      <profileLayout profileType="default"> 
      <jobInformation> 
      ... 
      </jobInformation> 
      
      
      <contactInformation> 
      ... 
      </contactInformation> 
      
      
      <associatedInformation> 
      ... 
      </associatedInformation> 
      </profileLayout> 
      </layoutConfiguration> 
      

    Although you cannot control the order of appearance of profile sections such as Contact Information or Associated Information, the order in which individual fields appear in the user interface reflects their order in the configuration file. For example, if you want the ipTelephoneNumbertelephoneNumber field to appear before the telephoneNumber field, simply change the order of the fields in the file.

  3. Modify the files, following the steps (detailed in the topics that follow) for choosing attributes and specifying which are editable. Many of the attributes are already listed in the configuration file, so you simply need to comment out what you don't want, or remove the comment statement from attributes you do want. If an attribute you want is not listed, add it to this file. Apply property changes


Customizing Profiles

 

Related tasks

Apply property changes

Determining the notification language for Profiles


+

Search Tips   |   Advanced Search