Outlook Web Access Forms Registry

Topic Last Modified: 2007-11-12

This section contains information about the registry.xml files that are stored in the custom forms folders. Use the registry.xml files to register custom forms for use with Microsoft Office Outlook Web Access for Microsoft Exchange 2007 Service Pack 1 (SP1).

For information about how to create and deploy registry.xml files, see Customizing Outlook Web Access.

Adding a Custom Form

If a custom content class is registered on a folder and a custom form is registered for that content class, when a user creates a new item in that folder, a new browser window opens, and the custom form is called. When the user reads, replies to, or performs other actions on the item, the registered form is displayed. You can register forms by creating correctly formatted ElementClass and Mapping (Forms Registry XML Element) entries in the ApplicationElement section of a registry.xml file. The following example shows the XML for the mapping of three custom forms to different actions on items of the type IPM.MyContentClass.

Code

<ApplicationElement Name="Item">
    <ElementClass Value="IMP.MyContentClass">
        <Mapping 
            Form="https://server/mycontentclassopen.aspx"/>
        <Mapping Action="Open" State="Draft" 
            Form="https://server/mycontentclassedit.aspx"/>
        <Mapping Action="Forward"
            Form="https://server/mycontentclassforward.aspx"/>
        <Mapping Action="Print"
            Form="https://server/mycontentclassprint.aspx"/>
    </ElementClass>
</ApplicationElement>