Share via


FieldGUID 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.

Globally unique identifier (GUID) of an outline code value.

<FieldGUID>
  StringValue
</FieldGUID>

Parent Elements

Value

Occurrences

Minimum: 1

Maximum: 1

Text Value

A text value of type string is required. The string must be in the form "HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH" where "H" represents a hexadecimal digit between 0 and F.

Remarks

FieldGUID corresponds to the ValueGUID element in the outline code value for a task or resource.

Example

In the following example, the outline code has two values. Each value satisfies the code mask for any number of characters (the mask Type = 3 and the mask Length = 0).

The ValueID is unique only within the project and the FieldGUID is unique across all projects. ValueID is required for Microsoft Office Project 2003 to read XML files saved from Project 2007. Project 2007 ignores ValueID and uses FieldGUID.

<OutlineCodes>
   <OutlineCode>
      <Guid>26F0CA77-38CC-40C7-933D-15F839F7DB82</Guid>
      <Enterprise>0</Enterprise>
      <ResourceSubstitutionEnabled>0</ResourceSubstitutionEnabled>
      <LeafOnly>0</LeafOnly>
      <AllLevelsRequired>0</AllLevelsRequired>
      <OnlyTableValuesAllowed>0</OnlyTableValuesAllowed>
      <Masks>
         <Mask>
            <Level>1</Level>
            <Type>3</Type>
            <Length>0</Length>
            <Separator>.</Separator>
         </Mask>
      </Masks>
      <Values>
         <Value>
            <ValueID>16</ValueID>
            <FieldGUID>985194AB-77BA-4545-BCE8-99761B5538D9</FieldGUID>
            <ParentValueID>0</ParentValueID>
            <Type>21</Type>
            <Value>Simple 1</Value>
         </Value>
         <Value>
            <ValueID>17</ValueID>
            <FieldGUID>6B0CC455-EE19-416A-8FD9-6209590B3ED7</FieldGUID>
            <ParentValueID>0</ParentValueID>
            <Type>21</Type>
            <Value>Simple 2</Value>
         </Value>
      </Values>
   </OutlineCode>
</OutlineCodes>

See Also

Reference

ValueID Element

Concepts

Project Elements and XML Structure

XML Schema for the Project Element

OutlineCode Elements and XML Structure

XML Schema for the OutlineCodes Element