Show/Hide Toolbars

You can get and set most custom fields using methods in the EnterpriseEntity interface. The Project interface has methods to get and set custom fields of Involved type.

To get or set a value in a custom field, you need the following information to locate the necessary field:

(If the field is not under a root category) The full tree position of the category for the field.

You can find the full tree position of a category in the UI of the TeamConnect Setup.

The name of the custom field, not its label.

You can find field names on the Custom Fields tab of the corresponding object definition in the TeamConnect user interface.

The type of custom field.

Depending on the field type, you use different methods to get or set the value in the custom field.

(If the custom field is of type List) The full tree position of the lookup table item in the list.

The following table lists all the methods from the EnterpriseEntity and Project interfaces that allow you to get or set custom field values according to field type.

Custom Field Types and Method Names

Field Type

get and set Methods

Class(es) with Methods

Check Box (Boolean)

getBooleanFieldValue()

setBooleanFieldValue()

EnterpriseEntity

Date

getDateFieldValue()

setDateFieldValue()

EnterpriseEntity

CalendarDate

Involved

getInvolvedFieldValue()

setInvolvedFieldValue()

Project

List

getLookupFieldValue()

setLookupFieldValue()

EnterpriseEntity

Memo (Text)

getMemoFieldValue()

setMemoFieldValue()

EnterpriseEntity

Number

getNumberFieldValue()

setNumberFieldValue()

EnterpriseEntity

Custom Object

getProjectFieldValue()

setProjectFieldValue()

EnterpriseEntity

Text

getTextFieldValue()

setTextFieldValue()

EnterpriseEntity