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

The UID element is a unique identifier. UID specifies the data record of any of its parent elements within one project.

<UID>
  String(16): for Project
  Integer: for all other parent elements
</UID>

Parent Elements

ProjectCalendarResourceAssignmentTaskExtendedAttributeTimephasedData

Occurrences

Minimum: 1

Maximum: 1

Remarks

The UID element is a string only for the Project element. The UID child element in Project is deprecated in Microsoft Office Project 2007.

For its other parent elements, UID is an integer. UID values are unique only within a project, not across multiple projects.

For a task, each UID is used only once within the project. If you create a task named T3 with UID = 3 and ID = 3, delete the task, and then create a new task named T3 with ID = 3, the new task UID is 4.

See Also

Concepts

Project Elements and XML Structure

XML Schema for the Project Element

Calendar Elements and XML Structure

XML Schema for the Calendars Element

Task Elements and XML Structure

XML Schema for the Tasks Element

Assignment Elements and XML Structure

XML Schema for the Resources Element

ExtendedAttribute Elements and XML Structure

XML Schema for the ExtendedAttributes Element

Assignment Elements and XML Structure

XML Schema for the Assignments Element

TimephasedDataType Elements and XML Structure

XML Schema for the TimephasedDataType Complex Type