次の方法で共有


LookupTableValue Element

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 lookup table value to change with a status update and contains the new value.

<LookupTableValue
  Guid="Text"
  ChangeNumber="Integer" >
    UpdateDetails
</LookupTableValue>

Attributes

Attribute

Description

Guid

Required Text. Specifies the globally unique identifier (GUID) of the lookup table value. Values must be in the form "HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH" where "H" represents a hexadecimal digit between "0" and "F".

ChangeNumber

Optional Integer. Used to track changes. The value is -1 if lookup table value changes are not tracked.

Child Elements

None

Parent Elements

LookupTableCustomFieldChange

Occurrences

Minimum: 0

Maximum: Unbounded

Text Value

A text value is optional. This text specifies the text to display in the Details row of the Transaction Comments and Task History section of the Assignment Details page in Project Web App.

Example

The following example uses the LookupTableValue element to update the value for the Health lookup table custom field to the value Completed, where changes are not tracked. After this update is executed, the Transaction Comments and Task History sections of the Assignment Details page in Project Web App display the following information in the Details row:

Health › Fully Completed.

<Changes>
  <Proj ID="3f8568c2-66ed-46b8-93ba-cf104c734cef">
    <Assn ID="352eb69a-a915-4849-b9f0-3d26d0d6e0a8">
      <LookupTableCustomFieldChange IsMultiValued="false" CustomFieldType="Text" CustomFieldGuid="00004f6d-90a2-439a-8cc2-1c1ef6d2da4f" CustomFieldName="Health">
        <LookupTableValue Guid="00001db0-125e-4641-b5fc-2a52ba36e278">Fully Completed</LookupTableValue>
      </LookupTableCustomFieldChange>
    </Assn>
  </Proj>
</Changes>