The information in this article applies to:
SUMMARY
This article summarizes how the Microsoft Outlook forms cache works and discusses limitations of the forms cache design that you may encounter when creating an Outlook forms solution. The following topics are covered: Purpose of the Forms Cache MORE INFORMATIONPurpose of the Forms CacheTo increase performance when opening forms, Outlook stores a copy of the form in a cache so it does not have to retrieve the form every time an item is opened. When forms are stored in a Microsoft Exchange public folder or in the Organizational Forms Library, using a cached version of the form increases performance considerably on both the local computer and the server.How Outlook Locates FormsBefore discussing the forms cache, it is helpful to understand how Outlook locates the necessary form when an item is opened. When you first create an item that uses a custom form, the Message Class field of the item is set to the name of the form. For example, if you have a custom task form called "Corporate" in a public folder, the message class will be IPM.Task.Corporate.When the item is opened from the folder, Outlook checks the message class to see what form should be used to display the item. It then conducts a search for the required form, looking in the following locations:
When Outlook checks for an updated form, the last modified time of the form in the cache is compared to the last modified time of the form in the original location. If the original location contains an updated form, Outlook will download the updated version and update the forms cache. Where the Form Cache is LocatedUnlike previous versions of Outlook, the forms cache is no longer located in the C:\Windows\Forms folder. The new locations in Outlook 2000 support roaming users. If Windows is not configured for multiple user profiles, the forms cache is located in the following folder:If Windows is configured for multiple user profiles, the forms cache is located in the following folder:
How the Forms Cache WorksThe forms cache contains a Frmcache.dat file. This file contains summary information and pointers to both the default Outlook forms and any custom forms you have used. Cached copies of custom forms are stored in subfolders of the Forms folder.The subfolders of the Forms folder are randomly named, but typically resemble the name of the form. The actual forms stored within these folders are cryptically named, but have a .tmp file name extension. If you are unsure about which folder contains a copy of a particular form, the time stamp of the folder or .tmp file may help indicate which form is which. Outlook sets a 2048 KB limit on the total size of the forms cache by default. To change this setting, follow these steps:
Cache Doesn't Support Duplicate Form NamesIf you publish more than one form with the same name to multiple locations, the forms cache will not update correctly if you try to use the form from both locations. This limitation was documented in the Outlook 97 forms Help file (Olform.hlp) but was inadvertently omitted from the Outlook 98 and Outlook 2000 versions of this file. The Outlook 97 Help file states:About the form name and message classNOTE: Changing the version number or other property of the form does not affect the form cache behavior, as this paragraph implies. When Outlook checks to see if a new version of the form has been published, only the last modified time is used to determine which version is most current. There are generally two scenarios where publishing the same form name to more than one location causes a problem.
Can't Change the Forms Cache Location or ContentsOutlook 2000 was designed to support roaming users and therefore the forms cache location can change depending on which user is currently logged on to a computer. There are no user-configurable settings to indicate where the forms cache is located. Therefore, it is not possible to directly change the location of the forms cache to a location other than the default location.The format of the Frmcache.dat is undocumented and therefore direct modification of the file is unsupported. Microsoft cannot support direct modifications to any of the contents of the Forms folder unless such changes are documented by Microsoft, or recommended by Microsoft Product Support Services for troubleshooting purposes only. Before making any modifications to the contents of the Forms folder, you should first make a backup. NOTE: The size of the form cache is stored in the Frmcache.dat file and therefore there is no programmatic way to change the size of the form cache. REFERENCES
For additional information about available resources and answers
to commonly asked questions about Microsoft Outlook 2000 solutions,
please see the following article in the Microsoft Knowledge Base: Q146636 OL2000: Questions About Custom Forms and Outlook Solutions Additional query words: OutSol OutSol2000 OL2K
Keywords : |
Last Reviewed: December 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |