Condividi tramite


ChangeList Elements

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

This section contains information about the elements defined by the ChangeList Schema.

ChangeList Element Structure

The following shows the XML element structure used for changeXML strings in Statusing methods for Microsoft Project Server 2010.

<Changes>

  <Proj>

    <Assn>

      <Change>…</Change>

      <PeriodChange>…</PeriodChange>

      <SimpleCustomFieldChange>…</SimpleCustomFieldChange>

      <LookupTableCustomFieldChange>

        <LookupTableValue>…</LookupTableValue>

      </LookupTableCustomFieldChange>

    </Assn>

    <Task>

      <Change>…</Change>

    </Task>

  </Proj>

</Changes>

For example, the UpdateStatus_ManualTasks code sample in the UpdateStatus method creates the following changeXml string (without the newline characters). The PID attribute is the value of the s_apid_pct_wrk_complete field.

<Changes>
  <Proj ID="4919eb1d-e0c1-4bc4-8e5e-c1717b1ba276">
    <Assn ID="4cc3f5fc-04dd-4947-9ed4-351f2ec70587" ResID="ce06af7d-185b-49ba-bb89-56d2a35d4bf6">
      <Change PID="251658274">75</Change>
    </Assn>
  </Proj>
</Changes>

See Also

Concepts

Introduction to the ChangeList Schema and Statusing ChangeXML

Statusing ChangeList Schema