Outlook Web Access User Interface Customization XML Elements

Topic Last Modified: 2008-01-02

Customizing the user interface for Microsoft Office Outlook Web Access for Microsoft Exchange Server 2007 Service Pack 1 (SP1) involves adding information to a UIExtensions.xml file in the forms folder. The UIExtensions.xml file must conform to the XML schema that is described in the XML element topics in this section.

User Interface Customization File Example

The following example of a UIExtensions.xml file shows you how to add an item to the New drop-down menu, how to add an item to the navigation pane, and how to associate a small icon image file with a content class.

Code

<OWAUICustomizations>
    <SmallIconMappings>
        <!--You can register your own icons for custom 
            message classes here. 
            The Default IconFlag="Default".
            The Default PrefixMatch="false".
            Attributes should be in the order of: 
                ItemClass, 
                SmallIcon, 
                IconFlag, 
                PrefixMatch
        -->
  <Mapping 
            ItemClass="IPM.CustomClass" 
            SmallIcon="CustomClass.gif" 
            IconFlag="CustomClassRead"/>
    </SmallIconMappings>
    <MainNavigationBarExtensions>
        <!--You can register your own entries to appear in the
            Outlook Web Access navigation pane here.
        -->
        <MainNavigationBarEntry 
            LargeIcon="LargeIcon.gif" 
            SmallIcon="SmallIcon.gif" 
            URL="https://server/application.aspx">
            <string language="en-us" text="My Application"/>
        </MainNavigationBarEntry>
    </MainNavigationBarExtensions>
    <NewItemMenuEntries>
        <!--You can register your own entries to appear in the
            Outlook Web Access New item drop-down menu here,
        -->
        <NewItemMenuEntry 
            ItemType="IPM.CustomClass" 
            icon="Sample.gif">
            <string language="en-us" text="New custom item"/>
        </NewItemMenuEntry>
    </NewItemMenuEntries>
</OWAUICustomizations>