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
- In the Domains application, click .
- 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.
- Click New Row, specify a value,
and click OK.
This value becomes
an item in the value list.
- Repeat Step 3 for each additional value.
- Click Save.
- In the Database Configuration application, open the application to which you intend to add the value
list.
- In the Attributes tab, click New
Row and configure the attribute by using the precise values
you specified for the domain.
- To save the changes to the database:
- From the More Actions menu, select Manage Admin
Mode.
- In the Turn Admin Mode ON window, click Turn Admin
Mode ON and click Close.
- From the Select Action menu, select Apply
Configuration Changes.
- From the More Actions menu, select Manage Admin
Mode.
- In the Turn Admin Mode ON window, click Cancel Admin
Mode and click Close.
- Sign out of
Maximo® Manage.
- Sign in to
Maximo Manage.
- 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.
- Select the text box control and click Control
Properties.
- 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.
- Click Save.