Change Element

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Specifies the field to change with a status update and contains the new value for that field.

<Change
  PID = "Integer">
      UpdateValue
</Change>

Attributes

Attribute

Description

PID

Required Integer. Specifies the Project identifier (PID) of the field to change.

Child Elements

None

Parent Elements

Assn, Task

Occurrences

Minimum: 0 in parent Assn, 1 in parent Task

Maximum: Unbounded

Text Value

A text value is required. This text specifies the value to update the field to.

NoteNote

The text value must match the data type required by the specified field.

Remarks

For information about updatable fields, PIDs, and required data types, see Supported Project Fields and Field Information for Statusing ChangeXML.

Example

The following example uses two Change elements to define two updates to a single task. The first Change element updates the Start field for the task to the value 8am January 10, 2007. The second Change element updates the Deadline field for the task to the value of 4pm January 31, 2007.

<Changes>
  <Proj ID="a47faeab-0f72-455a-b629-d62faf5fece6">
    <Task ID="0f8e477d-8dd9-4011-95cc-2499bb10cf10">
      <Change PID="184549386">2007-01-10T08:00:00</Change>
      <Change PID="184549394">2007-01-31T16:00:00</Change>
    </Task>
  </Proj>
</Changes>