Share via


Resource Elements and XML Structure

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.

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

Reference

TimephasedDataType Elements and XML Structure

Concepts

Introduction to Project XML Data

XML Schema for the Resources Element

Custom Field Data in XML

Project Elements and XML Structure

Other Resources

Fields Reference