Adding a value list to a text field

You can add a lookup icon to a text box control and configure a list of values that users can select from when they click the icon.

Before you begin

You can use an existing lookup value list or you can configure a new one.

To create a value list, configure a domain that contains the values, associate the domain with an attribute, and update the presentation XML for the application to include the value list.

To use an existing lookup value list, export the system XML and locate the relevant Lookup ID in the lookups.xml file.

When you assign lookups for a field that has a table domain, you use a lookup from the application that the field is in. You cannot use the VALUELIST lookup with table domains.

Procedure

  1. In the Domains application, click Add New Domain > Add New ALN Domain.
  2. In the ALN Domain window, specify values in the required fields.
    You must use precisely the same values when you configure the associated attribute in the Database Configuration application. The data type determines whether options in the list are displayed as uppercase, lowercase, or either. The length determines the width of the list. A length of 10 is adequate for most purposes.
  3. Click New Row, specify a value, and click OK.
    This value becomes an item in the value list.
  4. Repeat Step 3 for each additional value.
  5. Click Save.
  6. In the Database Configuration application, open the application to which you intend to add the value list.
  7. In the Attributes tab, click New Row and configure the attribute by using the precise values you specified for the domain.
  8. To save the changes to the database:
    1. From the More Actions menu, select Manage Admin Mode.
    2. In the Turn Admin Mode ON window, click Turn Admin Mode ON and click Close.
    3. From the Select Action menu, select Apply Configuration Changes.
    4. From the More Actions menu, select Manage Admin Mode.
    5. In the Turn Admin Mode ON window, click Cancel Admin Mode and click Close.
    6. Sign out of Maximo® Manage.
    7. Sign in to Maximo Manage.
  9. In the Application Designer, open the application that you want to change and drag a text box control from the Control Palette to a section in the workspace.
    An Invalid binding message is displayed in the text box. When you associate the control with an attribute, the message no longer displays.
  10. Select the text box control and click Control Properties.
  11. In the Textbox Properties window, specify values in the following fields:
    Option Description
    Label Label to display for the field.
    Attribute Attribute for this field. Specify the same name for the attribute as the name you configured in the database.
    Lookup Valuelist
    A lookup icon is displayed next to the text box control and the Invalid message is no longer displayed.
  12. Click Save.