Article ID: 290659 - Last Review: November 23, 2006 - Revision: 2.4 OL2002: How to Update Existing Items to Use a New Custom FormThis article was previously published under Q290659 On This PageSUMMARY
This article describes how you can update items in an Outlook
folder so they open using a different form than the one they are currently associated with.
MORE INFORMATION
There are several situations where you might want to change
the form that is used for all the items in a folder. For example:
When you create and publish a custom form, the form is assigned a message class. This message class determines which form is associated with an item. The format of the name is "IPM.FormType.FormName", where FormType is the type of form (Contact, Task, and such) and FormName is the name of the custom form. For example, if you create a new contact form, name it Revised, and then publish it to your Contacts folder, the message class is IPM.Contact.Revised. NOTE: In each of the following operations, it is imperative that the new message class name be entered exactly as the name used when the form was published. The following table lists the various names used for message classes: Item Default folder Default Message Class ------------- -------------- --------------------- Contact Contacts IPM.Contact Task Tasks IPM.Task Appointment Calendar IPM.Appointment Note Notes IPM.StickyNote Journal Entry Journal IPM.Activity Mail Inbox IPM.Note To see the message class for an existing item, add the message class field as one of the columns in the current view. The message class in this view is read-only; you cannot type in a different message class to change the form manually. To add the message class to your view, follow these steps:
You can use any of the following methods to change the Message Class fields. Method 1: Download the Omsgclas.exe UtilityDownload Omsgclas.exe, which contains a Word 97/2000/2002 document with a macro that changes Outlook message classes. This is the same utility that was available for Outlook 97 and Word 97. It also works with Outlook 2002 and Word 2002. The macro runs automatically when you open the document.When you open Omsgclas.doc, you may find that the Word document will open but the macro will not run. To correct this problem, you must lower the macro security in Word. While in Word, click the Tools menu, point to Macro, and then click Security. Change the security to low or medium. This will enable the macro to run after you re-open the file. For additional information about obtaining the Omsgclas.exe file, click the article number below to view the article in the Microsoft Knowledge Base: 201089
(http://support.microsoft.com/kb/201089/EN-US/
)
OL2002: Word Document to Change Message Class of Outlook Items
Method 2: Use a Third-party UtilityThere are other third-party utilities available that will update message class fields. The Slipstick Systems Web site provides a list of these utilities:http://www.slipstick.com/dev/newdefaultform.htm#convert
(http://www.slipstick.com/dev/newdefaultform.htm#convert)
The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.Method 3: Create a VBScript RoutineNOTE: You should use this method only if you do not have Microsoft Word 97/2000/2002, or you cannot obtain the Omsgclas.exe file.Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or Microsoft Advisory Services. For more information, visit these Microsoft Web sites: Microsoft Certified Partners - https://partner.microsoft.com/global/30000104 (https://partner.microsoft.com/global/30000104) Microsoft Advisory Services - http://support.microsoft.com/gp/advisoryservice (http://support.microsoft.com/gp/advisoryservice) For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS (http://support.microsoft.com/default.aspx?scid=fh;en-us;cntactms) Follow the steps below to create and run a VBScript routine that will change all the items in a folder to a specified form. This example assumes that you have published a new form called MyNewForm in the current folder. If you use a different name for your form, modify the form name used in the third line of code in the section "Enter the VBScript Code." There are four steps you must take:
Create a New Item to Store the VBScript Code
Enter the VBScript Code and Save the Form
Publish the New Form
Use the New Form
REFERENCESFor additional information about available resources and answersto commonly asked questions about Microsoft Outlook solutions, click the article number below
to view the article in the Microsoft Knowledge Base:
287530
(http://support.microsoft.com/kb/287530/EN-US/
)
OL2002: Questions About Custom Forms and Outlook Solutions
| Article Translations
|
Back to the top
