Skip to content

Latest commit

 

History

History
293 lines (159 loc) · 12 KB

resource-elements-and-xml-structure.md

File metadata and controls

293 lines (159 loc) · 12 KB
title description TOCTitle ms:assetid ms:mtpsurl ms:contentKeyID ms.date mtps_version f1_keywords monikerRange ms.localizationpriority
Resource Elements and XML Structure
Information about children of the Resources element defined in the Microsoft Office Project 2007 XML Data Interchange Schema.
Resource Elements and XML Structure
26f69c99-50e8-49c5-80cf-1c81c0abefbd
13188137
07/14/2022
v=office.12
XML and Project
XML in Project
XML structure in Project
Project and XML
Project XML elements
Project 2007 XML
Project XML structure
>= project-client-2007 || project-client-odc
medium

Resource Elements and XML Structure

This section contains information about children of the Resources element defined in the Microsoft Office Project 2007 XML Data Interchange Schema (mspdi_pj12.xsd). The XML elements represent resource data when you save a project in the XML format.

Resources is a child of the Project element. For more information, see Project Elements and XML Structure.

XML Structure of Resource Elements

The following shows the XML structure of the elements defined in the Resource schema section of mspdi_pj12.xsd. The data type is indicated for those elements that require a text value. You can find more detailed information about valid text values for each element in the documentation annotations that are embedded in the Resource Schema.

For more information about the data types used in the Project2007 XML Data Interchange Schema, see Introduction to Project XML Data.

Many of the Resource elements represent data fields in Microsoft Office Project. For more information about fields in Project Professional 2007 and Project Standard 2007, see Fields Reference.

Note

Detailed information about the structure of the TimephasedData element is shown in TimephasedDataType Elements and XML Structure in this schema reference.

<Resources>

    <Resource>

        <UID>integer</UID>

        <ID>integer</ID>

        <Name>string</Name>

        <Type>integer</Type>

        <IsNull>boolean</IsNull>

        <Initials>string</Initials>

        <Phonetics>string</Phonetics>

        <NTAccount>string</NTAccount>

        <MaterialLabel>string</MaterialLabel>

        <Code>string</Code>

        <Group>string</Group>

        <WorkGroup>integer</WorkGroup>

        <EmailAddress>string</EmailAddress>

        <Hyperlink>string</Hyperlink>

        <HyperlinkAddress>string</HyperlinkAddress>

        <HyperlinkSubAddress>string</HyperlinkSubAddress>

        <MaxUnits>float</MaxUnits>

        <PeakUnits>float</PeakUnits>

        <OverAllocated>boolean</OverAllocated>

        <AvailableFrom>dateTime</AvailableFrom>

        <AvailableTo>dateTime</AvailableTo>

        <Start>dateTime</Start>

        <Finish>dateTime</Finish>

        <CanLevel>boolean</CanLevel>

        <AccrueAt>integer</AccrueAt>

        <Work>duration</Work>

        <RegularWork>duration</RegularWork>

        <OvertimeWork>duration</OvertimeWork>

        <ActualWork>duration</ActualWork>

        <RemainingWork>duration</RemainingWork>

        <ActualOvertimeWork>duration</ActualOvertimeWork>

        <RemainingOvertimeWork>duration</RemainingOvertimeWork>

        <PercentWorkComplete>integer</PercentWorkComplete>

        <StandardRate>decimal</StandardRate>

        <StandardRateFormat>integer</StandardRateFormat>

        <Cost>decimal</Cost>

        <OvertimeRate>decimal</OvertimeRate>

        <OvertimeRateFormat>integer</OvertimeRateFormat>

        <OvertimeCost>decimal</OvertimeCost>

        <CostPerUse>decimal</CostPerUse>

        <ActualCost>decimal</ActualCost>

        <ActualOvertimeCost>decimal</ActualOvertimeCost>

        <RemainingCost>decimal</RemainingCost>

        <RemainingOvertimeCost>decimal</RemainingOvertimeCost>

        <WorkVariance>float</WorkVariance>

        <CostVariance>float</CostVariance>

        <SV>float</SV>

        <CV>float</CV>

        <ACWP>float</ACWP>

        <CalendarUID>integer</CalendarUID>

        <Notes>string</Notes>

        <BCWS>float</BCWS>

        <BCWP>float</BCWP>

        <IsGeneric>boolean</IsGeneric>

        <IsInactive>boolean</IsInactive>

        <IsEnterprise>boolean</IsEnterprise>

        <BookingType>integer</BookingType>

        <ActualWorkProtected>duration</ActualWorkProtected>

        <ActualOvertimeWorkProtected>duration</ActualOvertimeWorkProtected>

        <ActiveDirectoryGUID>string</ActiveDirectoryGUID>

        <CreationDate>dateTime</CreationDate>

        <ExtendedAttribute>

            <UID>integer</UID>

            <FieldID>string</FieldID>

            <Value>string</Value>

            <ValueID>integer</ValueID>

            <DurationFormat>integer</DurationFormat>

        </ExtendedAttribute>

        <Baseline>

            <Number>integer</Number>

            <Work>duration</Work>

            <Cost>float</Cost>

            <BCWS>float</BCWS>

            <BCWP>float</BCWP>

        </Baseline>

        <OutlineCode>

            <UID>integer</UID>

            <FieldID>string</FieldID>

            <ValueID>integer</ValueID>

        </OutlineCode>

        <IsCostResource>boolean</IsCostResource>

        <AssnOwner>string</AssnOwner>

        <AssnOwnerGuid>string</AssnOwnerGuid>

        <IsBudget>boolean</IsBudget>

        <AvailabilityPeriods>

            <AvailabilityPeriod>

                <AvailableFrom>dateTime</AvailableFrom>

                <AvailableTo>dateTime</AvailableTo>

                <AvailableUnits>float</AvailableUnits>

            </AvailabilityPeriod>

        </AvailablilityPeriods>

        <Rates>

            <Rate>

                <RatesFrom>dateTime</RatesFrom>

                <RatesTo>dateTime</RatesTo>

                <RateTable>integer</RateTable>

                <StandardRate>decimal</StandardRate>

                <StandardRateFormat>integer</StandardRateFormat>

                <OvertimeRate>decimal</OvertimeRate>

                <OvertimeRateFormat>integer</OvertimeRateFormat>

                <CostPerUse>decimal</CostPerUse>

            </Rate>

        </Rates>

        <c408000 – c417fff>

                <!-- ##New Project 2007 enterprise resource custom field data.

                                See Custom Field Data in XML for more information. -->

        </c408000 – c417fff>

        <ExtendedAttribute>

            <FieldID>string</FieldID>

            <Value>string</ValueID>

            <ValueGUID>string</UID>

            <DurationFormat>integer</ValueID>

        </ExtendedAttribute>

        <OutlineCode>

            <FieldID>string</FieldID>

            <ValueID>integer</ValueID>

            <ValueGUID>string</UID>

        </OutlineCode>

        <TimephasedData>. . .</TimephasedData>

    </Resource>

</Resources>

See Also

TimephasedDataType Elements and XML Structure Introduction to Project XML Data XML Schema for the Resources Element Custom Field Data in XML Project Elements and XML Structure Fields Reference