Documentation Center

Customizing client contact data

You can customize the client manager information that displays under the My Contacts section of the TransPort Home page. For example, you may want to change the display order or add additional contact information, such as a phone number. By default, TransPort displays the first and last name, as well as the email address of the client manager.

About this task

Customizing client contact information is a two-step process, which involves creating a custom attribute and then modifying transportconfig.properties.

Procedure

  1. Create a custom attribute that you want to display. For example, follow these steps to create a phone number:
    1. Go to Management > Administration > Customization.
    2. Select Attributes from the Custom component type list and click Add.
    3. For Applicable Object Types, select User.
    4. For Internal (API) Name, enter for example, PhoneNo. Jot down this API name.
    5. For the External (UI) Name, enter a name that will appear in the TransPort UI, for example, Phone.
    6. For Attribute Type, select Text Field so you can include dashes in the phone number string.
    7. Enter an optional description.
    8. Click OK to create the attribute.
  2. Browse to the WorldServer installed directory and locate transportconfig.properties, which is located in your web application root directory.
  3. Using a simple text editor like Notepad, open transportconfig.properties.
    1. In the show.contact parameter, parameter, add a comma and the Internal API name that you previously jotted down. Note that you can change the display order also. In this example, the API name is PhoneNo.
      show.contact=firstName,lastName,email,PhoneNo
    2. Save the file.
  4. Restart WorldServer
  5. Log in to TransPort. The My Contacts section displays the following contact information.