Field object

You can use the Field object to access the properties of a focused entity field, including the field value.

The Field object has the following properties.

Property

R/W

Type

Description

FieldLabel

R

String

The displayed label of the field.

FieldName

R

String

The logical name of the field.

IsModified

R

Boolean

Specifies whether the value has been modified.

IsMultiValue

R

Boolean

Specifies whether the field can contain multiple values from a lookup list.

IsNull

R

Boolean

Specifies whether the field value is absent.

IsReadOnly

R/W

Boolean

Specifies whether the field is read-only.

IsRequired

R/W

Boolean

Specifies whether a field value is required. This enables you to override field customization information. To modify the IsRequired property of a field, the IsVisible property must be True. Changes to IsRequired are ignored if the field is not visible.

Users must always enter a value for a field that is set as required by the workflow. This applies whether they are modifying an existing record or adding a new record, and even if the field is already empty.

IsVisible

R/W

Boolean

Specifies whether the field is displayed.

Not available for: Advanced project scripts

List

R/W

List

Sets or retrieves the field list attached to a field of type lookup list.

Not available for: Advanced project scripts

PageNo

R/W

Integer

Sets or retrieves the page (tab) on which the field is displayed in the New <entity> and <entity> Details dialog boxes.

Not available for: Advanced project scripts

Value

R/W

Variant

Sets or retrieves the value of the field.

ViewOrder

R/W

Integer

Sets or retrieves the order in which the fields are displayed in the New Defect and Defect Details dialog boxes. You must set the value for every field in the dialog box.

Not available for: Advanced project scripts

Back to top