Modify choice list elements

You can add or remove elements from a selected choice list by using the choice list's property sheet.

To modify choice list elements

  1. In the tree view, expand Object Stores > object store name and select the Choice Lists node. A list of defined choice lists appear in the details pane.
  2. Right-click the choice list in the details pane and select Properties from the menu. This opens the property sheet for the selected choice list.
  3. Select the Choice Items tab. Use the buttons at the right of this wizard screen to add or remove items or groups of items on the choice list:

    The following topics show you how to create, remove, or reorganize items and groups on the choice list:

  4. Once you've made changes in the property sheet, click OK to accept the changes and close the property sheet.

To rearrange selected item in the list

In the list box, select the item whose order you want to move and do one of the following options:

To create new entries for your choice list

  1. Click Add Item to display the Add Items screen.
  2. Enter the name you want displayed to the user in the Display Name field.
    If the Choice List is a string data type, then the Display Name will be mirrored in the Value field by default. If the Choice list is an integer data type, then the Display Name will initially be set to 0 (zero) by default.

    NOTE  The name in the Value field is the name that is entered in the database.
  3. If you want the value in the database to be different than the displayed name, type that value in the Value field.
  4. Click Add to add the item to the choice list.
  5. Continue adding items in this way until your list is complete, then click OK.

To create a hierarchical grouping of choice list elements

  1. Click Add Group to display the Add Groups dialog box.
  2. Enter the name for your group in the Display Name field.
  3. Click Add to add the group to the list of groups.
  4. Continue adding items in this way until your list is complete, then click OK.
  5. To create a list of items within a group, select a group name from the list and click Add Item. Follow the steps for adding items.

To remove elements from a list box

  1. Select the group or item you want to remove. (You cannot select multiple elements).
  2. Click Remove and the selected element is deleted from your list.

    CAUTION  Removing a group deletes all elements within that group.

To remove all elements from a choice list, select the choice list name and click Remove.

NOTE  This only works within the property sheet.