Outlook Web Access in Exchange 2007 SP1 provides a template file that is named registry.xml.template in the ClientAccess\Owa\forms\Customization folder inside the Exchange installation folder. To create and register a custom form, create a new folder inside the forms folder, and copy the registry.xml.template file into that folder. Make your changes to the registry.xml.template copy, and then rename the file to registry.xml
The UIExtensions.xml.template is located in the ClientAccess\Owa\forms\Customization folder inside the Exchange installation folder. Outlook Web Access reads only one UIExtensions.xml file, which is located in the forms folder. To modify the Outlook Web Access user interface, copy the template file into the forms folder, make your changes, and then change the name of the file to UIExtensions.xml.
In Outlook Web Access in Exchange 2007 SP1, you register forms to handle custom content types in the registry.xml files. To register small icons to represent custom content types in the Outlook Web Access user interface, include a Mapping element inside the SmallIconMappings element in the UIExtensions.xml file.
Code for your custom form applications is typically located in a subfolder inside the ClientAccess\Owa\forms folder. For example, you might name the folders after the registered content classes, and store all the forms that handle items of that content class in the same folder.