Bookshelf Home | Contents | Index | Search | PDF |
Product Administration Guide > Product Attributes >
Creating a List of Values (LOV)
When you define an attribute that has a list of values domain, you must specify a list of values name. This LOV contains the attribute values.
Creating a list of values has two steps:
- Creating a list of values name.
- Defining the attribute values in the list of values.
NOTE: The steps for creating a list of values for a dynamic attribute are different from creating LOVs for other uses. Do not define LOVs for dynamic attributes in the Application Administration > List of Values view. This view does not display LOVs defined for use with dynamic attributes. When you define an LOV for a dynamic attribute, you do not have to stop and restart the server for the LOV to take effect.
Creating a List of Values Name
You create an LOV name by creating a new record in the dialog box where you select an LOV when defining an attribute.
After creating a list of values name, you define the attribute values that make up the list.
To create a list of values name
- Navigate to Application Administration > Class Administration.
- In the Classes list, query for the desired class.
- In the Dynamic Attributes list, select the attribute for which you want to define an LOV.
- Click in the LOV Type field to display the select button. Click the select button to display the dialog box for selecting LOVs.
- In the dialog box, click New and fill out the form for defining an LOV type. Close the dialog box.
- Click Save in the Dynamic Attributes form.
This transfers the new LOV name to the attribute record.
Defining the Attribute Values in a List of Values
After you define the LOV name, you create the values in the list, by creating a record for each attribute value.
To define the attribute values in the list
- Navigate to Application Administration > Class Administration.
- In the Classes list, query for the desired class.
- In the Dynamic Attributes list, select the attribute for which you want to define LOV values.
- Click the LOV name hyperlink in the LOV Type field.
A view appears that displays the LOV name and provides a list in which to add one record for each attribute value in the LOV.
- For each attribute value in the LOV, create a new record in LOV list.
Bookshelf Home | Contents | Index | Search | PDF |
Product Administration Guide, Version 7.5 Published: 18 April 2003 |