An extended attribute is a custom field. The definition depends on whether an extended attribute is defined within an <ExtendedAttributes> collection, or a <Task>, <Resource>, or <Assignment>. In general, there may be an unlimited number of extended attributes, subject to the limitations described below.
| Property | Value |
|---|---|
| Data Type | ComplexType |
| Minimum Occurrences | 0 |
| Maximum Occurrences | Unbounded |
| Default Value | N/A |
| Abstract | False |
| Nillable | False |
| Element Constraints | Sequence |
Child Elements for the <ExtendedAttributes> collection:
| Element | Required/Optional | Description |
|---|---|---|
| <FieldID> | Optional | The localized name of the field; you should not use this to identify uniqueness across versions. |
| <FieldName> | Optional | The name of the custom field. |
| <Alias> | Optional | The alias of the custom field. |
| <PhoneticAlias> | Optional | Contains phonetic information in either Hiragana or Katakana for an extended attribute; used only in the Japanese version of Project. |
| <RollupType> | Optional | Indicates the method used to calculate roll-ups. |
| <CalculationType> | Optional | Indicates whether roll-ups are calculated for task and group summary rows. |
| <Formula> | Optional | The formula that Project uses to populate the custom field. |
| <RestrictValues> | Optional | Indicates whether only values in the list are allowed in the file. |
| <AppendNewValues> | Optional | Indicates whether new values added to the project are automatically added to the list. |
| <Default> | Optional | Refers to the ID of the default value in the list; not used if there is no default set. |
| <ValueList> | Optional | The collection of extended attribute values. |
Child Elements for a <Task>, <Resource>, or <Assignment>:
| Element | Required/Optional | Description |
|---|---|---|
| <UID> | Optional | The unique ID for the extended attribute. |
| <FieldID> | Optional | The field ID for the extended attribute. |
| <Value> | Optional | The actual value of the extended attribute. |
| <ValueID> | Optional | The ID of the value in the extended attribute lookup table. |
| <DurationFormat> | Optional | An enumeration of the duration format for the extended attribute (day, week, month, etc.). |
XML Schema for the <ExtendedAttribute> Element
XML Structure for the <ExtendedAttribute> Element
XML Schema for the <Task> Element
XML Structure for the <Task> Element
XML Schema for the <Resource> Element
XML Structure for the <Resource> Element
XML Schema for the <Assignment> Element
XML Structure for the <Assignment> Element
For the <ExtendedAttributes> collection Two pieces of data are necessary; a pointer back to the extended attribute table which is specified either by the unique ID or the Field ID, and the value which is specified either with the value, or a pointer back to the value list.
Note When loading a project stored as XML data, a maximum of 5000 <ValueList> elements and 128 <Indicators> elements will be recognized by Microsoft Office Project 2003. All others will be ignored.