# CubeFieldType complexType

Contains the properties of a cube field.

## Type Information

Namespace | urn:schemas-microsoft-com:office:excel
Schema name | XML Spreadsheet 2000

## Elements and Attributes

### Child Elements

Element | Description
--- | ---
UniqueName | Contains the unique name of a field.
Caption | Contains the displayed name of a PivotTable field, the title of a chart, or the caption of a data label, series, Spreadsheet component, or trendline. For a PivotList component, contains the axis label, displayed name of a total, or the current filter value or page name.
DefaultItem | Contains the name of the default page field item in a hierarchy.
AllItemName | Contains the unique name displayed for the page field when the user chooses to display all levels of a hierarchy.
Dimension | Contains the unique name of the dimension of a field.
DontShowInFieldList | Contains a Boolean value indicating whether a cube field should be shown in the field list for a PivotTable view or report.
Measure | Specifies whether a field is a measure or hierarchy.
Set | Contains a Boolean value indicating whether a cube field is a user-defined set.
NoDragToData | Specifies whether a PivotTable field can be dragged to a data position.
NoDragToHide | Contains a Boolean value indicating that a cube field cannot be removed from a PivotTable view or report.
NoDragToRow | Specifies whether a PivotTable field can be dragged to a row position.
NoDragToColumn | Specifies whether a PivotTable field can be dragged to a column position.
NoDragToPage | Specifies whether a PivotTable field can be dragged to a page position.
EnableMultiplePageItems | Contains a Boolean value indicating that the user is allowed to select two or more OLAP cube members when a given cube field is in the page area of the PivotTable view.
LayoutForm | Specifies how items appear in a PivotTable report.
LayoutSubtotalLocation | Specifies where subtotals are displayed in a PivotTable report.
Orientation | Specifies whether the PivotTable properties in a PTLineItems element apply to a row or column, or specifies the orientation of a PivotTable field or a cube field axis.
MemberProperty | Contains information about an OLAP member property field.
MemberPropertiesOrder | Specifies the order of a member property if a cube field is associated with multiple OLAP member properties.
HideDropDowns | Contains a Boolean value indicating whether the drop-down list for a field in the PivotTable view should be shown.
GroupLevel | Describes the grouping properties for a hierarchy level in an OLAP-based PivotTable view or report.
IsGroupLevel | Contains a Boolean value indicating that an OLAP hierarchy level is a custom group level rather than a level from the original OLAP cube.
UniqueName | Specifies a unique name for an OLAP hierarchy group level.
Name | Specifies a caption (display name) for an OLAP hierarchy group level.
GroupDefinition | Describes a particular grouping of OLAP members in a hierarchy level in an OLAP-based PivotTable view or report.

### Attributes

None.

## Definition

    <xsd:complexType name="CubeFieldType" >
      <xsd:sequence>
        <xsd:element name="UniqueName" type="xsd:string">
        </xsd:element>
        <xsd:element name="Caption" type="xsd:string">
        </xsd:element>
        <xsd:element name="DefaultItem" type="xsd:string" minOccurs="0">
        </xsd:element>
        <xsd:element name="AllItemName" type="xsd:string" minOccurs="0">
        </xsd:element>
        <xsd:element name="Dimension" type="xsd:string" minOccurs="0">
        </xsd:element>
        <xsd:element name="DontShowInFieldList" type="xsd:string" minOccurs="0">
        </xsd:element>
        <xsd:element name="Measure" minOccurs="0">
        </xsd:element>
        <xsd:element name="Set" minOccurs="0">
        </xsd:element>
        <xsd:element name="NoDragToData" minOccurs="0">
        </xsd:element>
        <xsd:element name="NoDragToHide" minOccurs="0">
        </xsd:element>
        <xsd:element name="NoDragToRow" minOccurs="0">
        </xsd:element>
        <xsd:element name="NoDragToColumn" minOccurs="0">
        </xsd:element>
        <xsd:element name="NoDragToPage" minOccurs="0">
        </xsd:element>
        <xsd:element name="EnableMultiplePageItems" minOccurs="0">
        </xsd:element>
        <xsd:element name="LayoutForm" type="LayoutFormType" minOccurs="0">
        </xsd:element>
        <xsd:element name="LayoutSubtotalLocation" type="LayoutSubtotalLocationType" minOccurs="0">
        </xsd:element>
        <xsd:element name="Orientation" type="OrientationType" default="Hidden" minOccurs="0">
        </xsd:element>
        <xsd:element name="MemberProperty" type="MemberPropertyType" minOccurs="0" maxOccurs="unbounded">
        </xsd:element>
        <xsd:element name="MemberPropertiesOrder" minOccurs="0">
        </xsd:element>
        <xsd:element name="HideDropDowns" minOccurs="0">
        </xsd:element>
        <xsd:element name="GroupLevel" minOccurs="0" maxOccurs="unbounded">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="IsGroupLevel" minOccurs="0">
              </xsd:element>
              <xsd:element name="UniqueName" type="xsd:string" minOccurs="0">
              </xsd:element>
              <xsd:element name="Name" type="xsd:string" minOccurs="0">
              </xsd:element>
              <xsd:element name="GroupDefinition" type="GroupDefinitionType" minOccurs="0" maxOccurs="unbounded">
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp