getFieldData method



Retrieves data from a task.

Syntax

Object = Task.getFieldData(sField)

Applies to

Task object.

Parameters

sField
String. The field whose value is returned by this method. Specify one of: "startDate", "endDate", "taskName", "duration", "notes", "url", "resourceName", "percentComplete", or a customized field.

Return value

Object. The Object value references an Object representing the value of the task field that you specify for sField.

Usage

This method returns the value of the task field that you specify as sField.

See also

createField method
setFieldData method
Field property
getFieldTitle method