Microsoft Exchange Search Sample Application
Readme  |  Search Sample Pages

Features
Required Setup
Using this Sample Page on Your Site
Files

Features

This sample search application shows how to optimize a search of Microsoft® Exchange public folders and use custom properties from your Exchange applications in your search application.

Return to top of page

Required Setup

  1. This sample page requires a catalog containing Microsoft Exchange public folders. To set up such a catalog, read the following topics in the Search documentation:
    • Setting Up Your System for Microsoft Exchange, in the Configuring Search section.
    • Setting a Start Address to crawl Microsoft Exchange Public folders, in the Managing Catalogs section.
  2. The features of this sample page can be viewed if the catalog contains data in the DocAuthor, DocTitle, DocAddress, Description, Size, FileWrite, and MimeType columns.
  3. In order to analyze Search query usage, you must have the Analysis feature of Site Server installed.
  4. Copy the kb.pst to a location on your hard drive.  Start Outlook and select File/Open/Personal Folders File (.pst)
  5. Find and open kb.pst.  Outlook will automatically open a window with the contents of the pst file.
  6. Bring up the Folder List in Outlook and expand the PST file until you find the folder named Discussions.
  7. Right-click on the Discussions folder and select to copy the folder to a new location.   Copy the folder to a Public Folder of your choice in your Public Folder tree.
  8. Launch a custom form to make sure the folder is setup correctly by going to the Public Folder location where you copied the Discussions folder and select the Actions menu.   You should see New KnowledgeBase in the menu.  Select that command and the custom form should appear.
  9. To have the custom form work in Outlook Web Access, copy the KnowledgeBase folder to your webserver where you are running Microsoft Outlook Web Access.  The subdirectory which contains the library of HTML forms for Outlook Web Access is located under installation drive/exchsrvr/webdata/usa/forms/ipm/post
  10. By copying the KnowledgeBase folder to this location, you are telling Outlook Web Access that you have a custom form with a message class of IPM.Post.KnowledgeBase.  The Outlook form was converted using the Outlook HTML Form Converter.

Return to top of page

Using this Sample Page on Your Site

  1. Copy the files from this sample to a new directory. 
  2. Update the search.asp file with the name of the catalog you created in Site Server.   Currently, the only catalog name in the ASP file is called Discussion.
  3. The directory containing this sample page should have Allow Anonymous Access disabled, and one or both of Basic Authentication or Windows NT Challenge/Response enabled so that the site visitor will be authenticated. Based on the site visitor's login account, Search determines which search results the site visitor can see. To change the security settings for the directory, in Internet Service Manager, right-click the directory, click Properties, click the Directory Security tab, and then in the Anonymous Access and Authentication Control area, click Edit.
  4. Before using this sample page on your Web site, be sure to test it with your catalogs and with typical queries you expect your site visitors to enter. Also, test it from various accounts of people in your organization to make sure your catalog and authentication are set up correctly. For more information, see Testing Your Web Pages in the Writing Search Web Pages section of the Search documentation.

Return to top of page

Files

The files for this sample page can be found on the web at http://www.microsoft.com/sitebuilder.

File Description
Search.asp Search initiation and results page. Demonstrates how to search on custom properties.
Readme.htm This file..
kb.pst PST (Personal Store) file which contains the Outlook sample items and sample forms for the application.
header2.gif Exchange banner graphic at the top of the page.
html.gif Image to show HTML link in browser to Outlook Web Access version of the form.
owa.gif Image to show Post icon in the browser.
Back.jpg Background image for the page.

Return to top of page