Export (0) Print
Expand All

Change Element

Last modified: March 16, 2010

Applies to: Office 2010 | Project 2010 | Project Server 2010 | SharePoint Server 2010

In this article
Attributes
Child Elements
Parent Elements
Occurrences
Text Value

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


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

Attribute

Description

PID

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

ChangeNumber

Optional Integer. Used to track changes. The value is -1 if changes are not tracked. ChangeNumber is not used if the parent is the Task element.

Minimum: 0 in parent Assn, 1 in parent Task

Maximum: Unbounded

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

Note Note

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

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

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>
Show:
© 2014 Microsoft