Partager via


ExtendedAttribute 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 ExtendedAttributes element defined in the Microsoft Office Project 2007 XML Data Interchange Schema (mspdi_pj12.xsd). The XML elements in an ExtendedAttribute represent data for a custom field.

ExtendedAttributes is a child of the Project element. For more information, see Project Elements and XML Structure. A Task, Resource, or Assignment element can also contain individual ExtendedAttribute elements. For more information, see Task Elements and XML Structure, Resource Elements and XML Structure, and Assignment Elements and XML Structure.

XML Structure of ExtendedAttributes

The following shows the XML structure of the elements defined by the ExtendedAttribute 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 XML Schema for the ExtendedAttributes Element.

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

<ExtendedAttributes>

    <ExtendedAttribute>

        <FieldID>string</FieldID>

        <FieldName>string</FieldName>

        <CFType>integer</CFType>

        <Guid>string</Guid>

        <ElemType>integer</ElemType>

        <MaxMultiValues>integer</MaxMultiValues>

        <UserDef>boolean</UserDef>

        <Alias>string</Alias>

        <SecondaryPID>string</SecondaryPID>

        <AutoRollDown>boolean</AutoRollDown>

        <DefaultGuid>string</DefaultGuid>

        <Ltuid>string</Ltuid>

        <PhoneticAlias>string</PhoneticAlias>

        <RollupType>integer</RollupType>

        <CalculationType>integer</CalculationType>

        <Formula>string</Formula>

        <RestrictValues>boolean</RestrictValues>

        <ValuelistSortOrder>integer</ValuelistSortOrder>

        <AppendNewValues>boolean</AppendNewValues>

        <Default>string</Default>

        <ValueList>

            <Value>

                <ID>integer</ID>

                <Value>string</Value>

                <Description>string</Description>

                <Phonetic>string</Phonetic>

            </Value>

        </ValueList>

    </ExtendedAttribute>

</ExtendedAttributes>

See Also

Concepts

Introduction to Project XML Data

XML Schema for the ExtendedAttributes Element

Custom Field Data in XML

Project Elements and XML Structure

Task Elements and XML Structure

Resource Elements and XML Structure

Assignment Elements and XML Structure