Mapping (Small Icon Mapping XML Element)

Topic Last Modified: 2007-11-11

The Mapping element defines an individual mapping between a content class and an icon image file that is used by Microsoft Office Outlook Web Access for Microsoft Exchange Server 2007 Service Pack 1 (SP1).

Syntax

<Mapping 
        ItemClass="" 
        SmallIcon="" 
        IconFlag="" 
        PrefixMatch="" 
/Mapping>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

ItemClass

The content class to which the icon mapping applies. When Outlook Web Access displays an item in a list, if the content class of that item matches this attribute value, the specified icon is used.

SmallIcon

The URL of the icon file. This can be a local URL that does not have protocol and server indicators, such as "CustomClassIcon.gif." The icons should be 16x16 pixels.

IconFlag

Optional. When this attribute is included, it specifies the item status value for which this icon will be displayed. Use this attribute to define icons that help the user distinguish between item states; for example, MailRead. See below for the possible IconFlag values.

PrefixMatch

Optional. Defines whether to match the beginning part of the content class when classes are compared. The following are the possible values for this attribute:

  • True
  • False

The default value is false. When this value is set to true, if the item content class name is derived from the name that is specified in the ItemClass attribute, the specified icon will be used. For example, if the mapping indicates ItemClass="IPM.Note.MyCustomBaseForm" and the actual content class for the item is IPM.Note.MyCustomBaseForm.Simple, the icon that is specified in this mapping is used. When the value for this attribute is false, the ItemClass attribute value and the item content class must be the same.

IconFlag Attribute Values

Value Description

AppointmentItem

AppointmentMeet

AppointmentMeetCancel

AppointmentMeetInfo

AppointmentMeetMaybe

AppointmentMeetNY

AppointmentMeetNo

AppointmentMeetRecur

AppointmentMeetYes

AppointmentRecur

BaseAppointment

BaseMail

BaseTask

MailEncrypted

MailEncryptedForwarded

MailEncryptedRead

MailEncryptedReplied

MailForwarded

MailRead

MailReplied

MailSmimeSigned

MailSmimeSignedForwarded

MailSmimeSignedRead

MailSmimeSignedReplied

MailUnread

PostItem

TaskDelagated

TaskItem

TaskOwned

TaskRecur

The internally defined flags that determine which icon will be displayed for the item.

Child Elements

The Mapping element has no child elements.

Parent Elements

Element Description

SmallIconMappings

Contains the mappings between icon image files and content classes. Mappings in this section determine how items and folders are displayed in Outlook Web Access.