setFieldData method
Sets values of task fields.
Syntax
boolean = Task.setFieldData(sField, data)
Applies to
Task object.
Parameters
- sField
- String. One of: "startDate", "endDate", "taskName", "duration", "notes", "url", "resourceName", "percentComplete", or a customized field.
- data
- Object. The value to which the field specified by sField is set.
Return value
boolean. The boolean value is true if the method sets the task field values successfully; otherwise, it is false.
Usage
This method sets the value of the task field that you specify as sField.
See also
createField method
getFieldData method
getFieldTitle method
Field property