Creating Boolean Fields

Boolean property fields are used to define true/false property values.
  1. Select [Component] > Advanced > Customize. [Component] corresponds to the component for which you are creating a property field.
    The Customize dialog box opens.
  2. Review the Customize dialog box to find the fields that can be customized. The fields and icon graphics accompanying them are as follows:
    • A field with a pencil in the center of the icon is an application field. It is always an enumerated type and is fully customizable. You can add, disable, rename, and reorder its values.
    • A new field icon displays the head and shoulders of a person. It can be one of several types and is fully customizable. If the new field is disabled, the icon is greyed-out.
    • An application field with an icon containing a small yellow lock in the lower left corner is a restricted enumerated type. You can change only the names the application displays for the values of this field.
  3. Click Add.
    The Add Field dialog box opens.
  4. Type the name for the new field to be used by the database in the Field name field. Use only alphanumeric characters and no spaces in this name. The name should be less than 31 ASCII characters (including Usr_) and not contain the following characters, which are not accepted by one or more of the databases that the application supports: = \\.^$@,;!:#*&<>?-//%|[](())+"
    Note: Be careful about selecting the field name, as it cannot be changed once you click OK.
  5. Type the name that the application will display to users in the Display Name field.
  6. Select Boolean from the Type list.
  7. In the Possible Values list, True and False are listed by default. If you want to change the names of these values (for example to Yes or No), select the value and click Edit.
  8. Optionally: Click Add to enter a new value. The Add Value dialog box opens. StarTeam reserves the numeric codes from 0 to 100, so this dialog shows numbers starting with 101.
  9. In the Default Value box, select the value you want to be the default value for all items that have this field type as a property. If you want the default value selected to always be true, select the Default is True check box.
  10. Verify that the values you have selected are the ones that you want. They cannot be changed once you exit the dialog box.
  11. Click OK.