Time span property fields can be added to specify a duration of time in days, hours, minutes, and seconds.
Select
[Component] > Advanced > Customize.
[Component] corresponds to the component for which you are creating a property field.
The
Customize dialog box opens.
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.
Click
Add.
The
Add Field dialog box opens.
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.
Type the name that the application will display to users in the
Display Name field.
Select
Time span from the
Type list.
Optionally, select the default value
Time Span Days check box and type in a default value for the number of days and/or select a default time (H = hours, M = minutes, S = seconds).
This value automatically becomes the value used for all existing items that have the field as a property. It also becomes
the default value for newly created items. You can change this value manually on the
Custom tab of the item
Property dialog box.
Note: If you do not set a default, no value is placed in the database for any item with this field, unless you set the field to
a value manually.