Message Classes and Microsoft Outlook Web Access

Microsoft® Outlook™ Web Access recognizes a form's message class by reading its Type property. It parses this property to determine the path to the folder where the form's .asp files are installed. For example, the message class for the Classified Ad sample is:

IPM.Microsoft.ITG.NewClassifiedAd
 

Web Access starts with the string \exchsrvr\webdata\usa\forms and appends the Type property string, replacing each period with a backslash character. This gives the following folder path:

\exchsrvr\webdata\usa\forms\IPM\Microsoft\ITG\NewClassifiedAd
 

When you create a form meant for use with Web Access, follow this convention when choosing where to save its .asp files and where to install them after distribution. Similarly, forms you download should be installed into a folder path that follows this convention.

A separate form exists for creating a purchase offer. This form has the message class IPM.MS.ITG.MicroNews.PrchOfr, and the files that render it can be found in the folder \exchsrvr\webdata\usa\forms\IPM\MS\ITG\MicroNews\PrchOfr. The existence of this message class illustrates how the use of different message classes lets one set of information — about an item for sale, for example — be presented in different ways. Different forms are rendered for different purposes, though the same data can be used in each form.

Microsoft Outlook Web Access uses this convention in the following way:

    Using Web Access to open an existing form
  1. At the Web Access interface, a user opens a form by clicking it.
  2. Web Access reads the form's Type property and uses it to determine the directory path to the form's installed .asp files.
  3. Web Access uses that path to locate and run the file called Read.asp. The Read.asp file can now redirect control to any other .asp or .htm file.
  4. Typically, CDO functions are now called that use MAPI to retrieve properties from the form's message object stored in a Microsoft Exchange information store. This data populates the controls of the form, which are rendered to the user.