b608000 - b617fff Elements

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.

A project-level enterprise custom field value.

<b608000>
    CustomFieldValue
</b608000>

Attributes

Attribute

Description

DurationFormat

Specifies the format for a duration custom field value (days, weeks, months, and so on). For more information, see DurationFormat Element.

Parent Elements

Task

Occurrences

Minimum: 0

Maximum: 1 of each unique element name

Text Value

A text value is required. This text specifies the enterprise custom field value for the project.

NoteNote

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

Remarks

The name of the XML element that stores the enterprise custom field value corresponds to the hexadecimal representation of the custom field ID.

Table 1 lists the valid range of custom field IDs for project-level enterprise custom fields in both decimal and hexadecimal format.

Table 1. Project-level Enterprise Custom Field IDs

Custom Field ID range (decimal)

Custom Field ID range (hexadecimal)

190873600 – 190939135

b608000 – b617fff

For more information, see Custom Field Data in XML.

Example

The following example shows two different representations of enterprise project custom field data.

Element

Decimal value of FieldID

Description

b608007

190873607

FieldName: ProjectNumberTest, a number custom field with a lookup table.

Guid: Refers to the custom field GUID.

DefaultGuid: Refers to the default value in the associated lookup table of the ProjectNumberTest custom field.

The GUID value of the b608007 element specifies the actual lookup table value.

b60800a

205553676

FieldName: ProjectDurationNL, a duration custom field that has no lookup table.

The DurationFormat="9" attribute specifies the duration format as weeks.

The value PT280H0M0S specifies 280 hours, 0 minutes, and 0 seconds. Because the work week is 40 hours, that is seven weeks. (PT stands for Project Time, for internal use.)

Project Professional shows the value of the custom field as "7 wks."

<Project xmlns="http://schemas.microsoft.com/project">
   . . .
   <ExtendedAttributes>
      <ExtendedAttribute>
         <FieldID>190873607</FieldID>
         <FieldName>ProjectNumberTest</FieldName>
         <CFType>5</CFType>
         <Guid>7AA9C196-A0BB-4FA0-BBDD-E16B6C36901A</Guid>
         <ElemType>20</ElemType>
         <MaxMultiValues>1</MaxMultiValues>
         <UserDef>1</UserDef>
         <DefaultGuid>EBDF240A-AE0B-4224-A8B8-3FA4B7EA709F</DefaultGuid>
      </ExtendedAttribute>
      <ExtendedAttribute>
         <FieldID>190873610</FieldID>
         <FieldName>ProjectDurationNL</FieldName>
         <CFType>2</CFType>
         <Guid>0FA0F636-98A0-4841-8129-08B84560E977</Guid>
         <ElemType>20</ElemType>
         <MaxMultiValues>1</MaxMultiValues>
         <UserDef>1</UserDef>
      </ExtendedAttribute>
   </ExtendedAttributes>
   . . .
   <Tasks>
      <Task>
         . . .
         <b608007>59B6725E-92B7-4242-9CCB-00AFA1B0A9C1</b608007>
         <b60800a DurationFormat="9">PT280H0M0S</b60800a>
         . . .
      </Task>
   </Tasks>
   . . .
</Project>

See Also

Concepts

Task Elements and XML Structure

XML Schema for the Tasks Element

Custom Field Data in XML