Guid Element (Multiple Parents)

The globally unique identifier (GUID) of an outline code, enterprise custom field, project, task, assignment, resource, or calendar. The value is not loadable for the project, task, assignment, resource, or calendar elements.

The globally unique identifier (GUID) of an outline code, enterprise custom field, project, task, board column, sprint, assignment, resource, or calendar. The value is not loadable for the project, task, board column, sprint, assignment, resource, or calendar elements.

<Guid>
    StringValue
<Guid>

Parent Elements

Occurrences

Minimum: 0 for all items except 1 for outline codes and enterprise custom fields.

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

For the ExtendedAttribute element, Guid is the custom field GUID.

For the OutlineCode element, Guid is the outline code GUID. Local outline codes and enterprise custom fields and require the Guid element; local custom fields do not.

Example

In the following example, Text1 is a local task custom field, which does not include the Guid element. Health is an enterprise custom field, which uses the Guid element to represent the GUID of the enterprise custom field.

<ExtendedAttributes>
  <ExtendedAttribute>
    <FieldID>188743731</FieldID>
    <FieldName>Text1</FieldName>
    <Alias>Test Task CF</Alias>
    <Ltuid>ED2E65AD-00A1-4457-97FA-A3FC708C9183</Ltuid>
    <SecondaryPID>255869028</SecondaryPID>
  </ExtendedAttribute>
  <ExtendedAttribute>
    <FieldID>188776449</FieldID>
    <FieldName>Health</FieldName>
    <CFType>7</CFType>
    <Guid>0000E8D9-65F1-4769-9BD2-819D38036FCC</Guid>
    <ElemType>20</ElemType>
    <MaxMultiValues>1</MaxMultiValues>
    <UserDef>1</UserDef>
    <SecondaryPID>255885314</SecondaryPID>
    <DefaultGuid>000079D2-4A43-41FC-B264-98D23FADD84B</DefaultGuid>
  </ExtendedAttribute>
</ExtendedAttributes>

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