Home

 

Manage the Profiles search operation


Overview

Use Profiles configuration settings to control how the search operation displays search results.

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


Configure the Profiles search

  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")

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

  2. To configure the Profiles search operation...

    ProfilesConfigService.updateConfig(<property>, <value>)

    where

    • <property> is one of the editable Profiles configuration properties.

    • <value> is the new value with which you want to set that property.

    The following table displays information regarding the search property and the type of data that you can enter for it.

    Option Description
    search.maxRowsToReturn Determines the maximum number of rows returned by a search operation.

    This property takes an integer value. The default value is 250.

    search.pageSize Determines the number of returned rows to place on a results page.

    This property takes an integer value. The default value is 10.

    search.firstNameSearchEnabled Determines if search by first name only is enabled. By default, this setting is set to false.

    This property takes a Boolean value.

    Enabling this setting negatively impacts the performance of the Search by > Name function available in the Profiles user interface.

    nameOrdering.enabled When this property is set to true, names must be entered as (FirstName LastName) or (LastName, FirstName). By default, it is set to false.

    This property takes a Boolean value.

    For example:

    ProfilesConfigService.updateConfig("search.pageSize","20") Apply property changes


Administer Profiles

Customizing Profiles search

 

Related tasks

Apply property changes


+

Search Tips   |   Advanced Search