Outlook Web App User Interface Customization XML Elements

Customizing the user interface for Microsoft Office Outlook Web App in Microsoft Exchange Server 2010 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 right-click (context) 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 App 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 App New item drop-down menu here.
        -->
        <NewItemMenuEntry 
            ItemType=”IPM.CustomClass” 
            icon=”Sample.gif”>
            <string language=”en-us” text=”New custom item”/>
        </NewItemMenuEntry>
    </NewItemMenuEntries>
    <RightClickMenuExtensions>
        <!--You can register your own entries to appear in the 
            Outlook Web App right-click (context) menu here.
        -->
        <RightClickMenuEntry 
                icon="MyCustomClassNewIcon.gif"
                URL=”https://server/application.aspx”
                filter=”IPM.MyCustomClass”>
            <string language="en-us" text="Custom Right-Click Item"/>
        </RightClickMenuEntry>
    </RightClickMenuExtensions>
</OWAUICustomizations>