FieldID Element
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.
In an OutlineCode, FieldID is the field number (project ID, or PID) of the outline code.
In an ExtendedAttribute, it corresponds to the enumeration value of a local custom field (Text1, Text2, Duration1, Duration2, and so on).
<FieldID>
IntegerValue
</FieldID>
Parent Elements
Occurrences
Minimum: 0 Maximum: 1 |
Remarks
You should not use FieldID to identify uniqueness across multiple projects or versions of Microsoft Office Project.
For an enterprise custom field, the integer value of FieldID is the decimal equivalent of the hexadecimal enterprise custom field element name. For example, if an enterprise resource custom field element is c408005, the FieldID value is 205553669. For more information, see c408000 - c417fff Elements.
For a local custom field, the FieldID corresponds to PjCustomField enumeration value. For example, the FieldID 188743731 matches the pjCustomTaskText1 value in PjCustomField Enumeration.
Note |
---|
Some values of FieldID are currently missing in the PjCustomField documentation. However, you can find all of the enumeration values in the Object Browser in the Project Visual Basic editor (VBE). For example, the FieldID 205521019 is for pjCustomResourceCost1. |
See Also
Concepts
OutlineCode Elements and XML Structure
XML Schema for the OutlineCodes Element
ExtendedAttribute Elements and XML Structure
XML Schema for the ExtendedAttributes Element