3.5.2.2.1 Shared Attributes (Content Type Schemas)

The schemas referred to here (including the root schema and core schema) are the child schemas described in Content Type Schemas (§3.5.2.1, Content Type Schemas Schema, 3.5.2.1, Content Type Schemas Schema).

Attributes

Description

decimals (Decimal Digits)

Specifies the number of fractional digits to display on the property editing surface for the property corresponding to an xsd:element in a schema other than the root schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}Currency or {http://schemas.microsoft.com/office/2006/documentManagement/types}Number.

Office handles the integer values 0-9 and auto.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

default (Default Value)

When applied to an xsd:element in a schema other than the root schema or the core schema, specifies the initial value of the property corresponding to the xsd:element.

When applied to an xsd:element in a schema other than the root schema or core schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}DateTime, if set to [today], specifies that the initial value of the property corresponding to the xsd:element should be set to the current date and time.

When applied to an xsd:element in a schema other than the root schema or core schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}Boolean, Office interprets 1 as logical true and all other values as logical false in determining the initial value of the property corresponding to this xsd:element.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

description (Description)

When applied to an xsd:element in a schema other than the root schema, specifies information displayed as a part of the tooltip on the property editing surface for the property corresponding to this xsd:element.

Office displays the first 512 characters of the concatenation of the property name, the ": " delimiter, and the description as the tooltip.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

displayName (Display Name)

When applied to an xsd:element in a schema other than the root schema or core schema, specifies the text displayed on the property editing surface and as a part of the tooltip for the property corresponding to the xsd:element.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

fieldsID (Fields ID)

This attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

format (Format)

When applied to an xsd:element in a schema other than the root schema or core schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}DateTime, if set to DateTime, specifies that the property value displayed in the property editing surface for the property corresponding to this xsd:element should include both the date and time, and if not present or set to any other value, specifies that the property value displayed in the property editing surface for the property corresponding to this xsd:element should include only the date.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

hidden (Hidden)

When applied to an xsd:element in a schema other than the root schema or core schema, if set to true, specifies that the property corresponding to this xsd:element should not be presented for editing on the property editing surface.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

index (Ordering Index)

The value of this attribute is used to determine the ordering on a property editing surface of xsd:elements bearing this attribute from schemas other than the root schema. First, the xsd:elements are broken into groups, as follows. The first group is composed of any xsd:element that:

is not the description element in the core properties, and

is not a simpleType restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}Note, and

is not a complex content based on any of {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiChoice, {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiChoiceFillIn, or {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiChoiceLookup.

The second group is composed of the remaining xsd:elements bearing this attribute from schemas other than the root schema. Within each group the order of the index attribute values is ascending.

If an xsd:element in a schema other than the root schema or core schema does not have this attribute, it will not be presented to the user for editing on the property editing surface.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the ST_IntNonNegative simple type (§3.5.2.2.2.2, ST_IntNonNegative).

internalName (Internal Name)

Specifies an internal name.

This attribute shall be present on xsd:elements in a schema other than the root schema or core schema.  If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

LCID (LCID)

When applied to an xsd:element in a schema other than the root schema or core schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}Currency, specifies the locale identifier as specified in the Windows Language Code Identifier (LCID) Reference [MS-LCID] to determine the currency symbol used in the display of the property corresponding to this xsd:element in the property editing surface.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema int datatype.

list (List Identifier)

Shall be present on xsd:elements for which neither the hidden nor read-only attributes are set to true in a schema other than the root schema or core schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}Lookup or {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiLookup.When present on such an element, specifies the list from which to get data for display of the property corresponding to this xsd:element in the property editing surface.

Office will populate this data when the save location of the document is a site that implements the Lists Web Service Protocol [MS-LISTSWS] and the value of this attribute is a valid GUID enclosed in braces corresponding to the ID of a list on the site.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

percentage (Show as Percentage)

When applied to an xsd:element in a schema other than the root schema or core schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}Currency or {http://schemas.microsoft.com/office/2006/documentManagement/types}Number, if set to TRUE, specifies that the property corresponding to this xsd:element should be displayed as a percentage in the property editing surface, and if not present or set to any other value, specifies that the property corresponding to this xsd:element should not be displayed as a percentage in the property editing surface.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

readOnly (Read Only)

When applied to an xsd:element in a schema other than the root schema or core schema, if set to true, specifies that the property corresponding to this xsd:element should not be presented for editing on the property editing surface.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

requiredMultiChoice (Required Multiple Choice)

When applied to an xsd:element in a schema other than the root schema or core schema whose content model is an xsd:restriction based on  {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiChoice, {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiChoiceFillIn, or {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiChoiceLookup, if set to true, specifies that the property editing surface should indicate an error if no choices are selected for the property corresponding to the xsd:element.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

root (Root Schema)

Shall be set to true on the root schema element described in  Content Type Schemas (§3.5.2.1, Content Type Schemas Schema, 3.5.2.1, Content Type Schemas Schema) for the http://schemas.microsoft.com/office/2006/contentTypeSchema namespace and shall not be applied to any other element.

The possible values for this attribute are defined by the ST_TrueOnly simple type (§3.5.2.2.2.3, ST_TrueOnly).

showField (Displayed Field)

Shall be present on xsd:elements for which neither the hidden nor read-only attributes are set to true in a schema other than the root schema or core schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}Lookup or {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiLookup. When applied to such an element, specifies the text displayed for the lookup options in the property editing surface for the property corresponding to the xsd:element.

Office handles values corresponding to the Name attribute of a field as specified in the response from a GetList request as specified in the Lists Web Service Protocol ([MS-LISTSWS] Subclause 3.1.4.14).

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

web (Site Identifier)

When applied to an xsd:element for which neither the hidden nor read-only attributes are set to true in a schema other than the root schema or core schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}Lookup or {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiLookup, specifies the site of the list from which to get data for display of the property corresponding to this xsd:element in the property editing surface.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the ST_UniqueIdentifierWithoutBraces simple type (§3.5.2.2.2.4, ST_UniqueIdentifierWithoutBraces).

The following XML Schema fragment defines the contents of this element:

 <complexType name="CT_Dummy">
   <attribute name="decimals" type="xsd:string"/>
   <attribute name="default" type="xsd:string"/>
   <attribute name="description" type="xsd:string"/>
   <attribute name="displayName" type="xsd:string"/>
   <attribute name="fieldsID" type="xsd:string"/>
   <attribute name="format" type="xsd:string"/>
   <attribute name="hidden" type="xsd:string"/>
   <attribute name="index" type="ST_IntNonNegative"/>
   <attribute name="internalName" type="xsd:string"/>
   <attribute name="LCID" type="xsd:int"/>
   <attribute name="list" type="xsd:string"/>
   <attribute name="percentage" type="xsd:string"/>
   <attribute name="readOnly" type="xsd:string"/>
   <attribute name="requiredMultiChoice" type="xsd:string"/>
   <attribute name="root" type="ST_TrueOnly"/>
   <attribute name="showField" type="xsd:string"/>
   <attribute name="web" type="ST_UniqueIdentifierWithoutBraces"/>
 </complexType>
Show: