Remove a Form Template From the Cache - Greg Collins

InfoPath Dev

This Blog


Greg Collins

Remove a Form Template From the Cache

The first time a form template is launched, InfoPath places it into its form template cache. On each subsequently launch, InfoPath will first check to see whether the template is already in the cache. This is very beneficial for forms that are only available online. If you are working with an online form, and you go offline, the cached form template is still available.

While you are still designing your form template you will be testing the work you do. If you preview your form template from the designer, all of the latest changes will be made available. But previewing is not always an appropriate method to test your form. If you save the form template and then launch it from another method, the latest changes might not be made available if the form template is already in the cache. To remedy this you will need to remove the form template from the cache.

Removing a form template from the cache is accomplished differently based on whether it was installed from a .msi file. You are not allowed to remove an installed form template in the same way you can a normal form template. Installed form templates must be uninstalled.

In this task, we will learn how to remove a normal, and an installed form template from the InfoPath cache. This will force InfoPath to reload the form template from the source the next time it is launched, thus making available any recent changes.

Remove a normal form template from the InfoPath cache:

  1. Close any open instance of the form template you want to remove.
  2. Launch InfoPath, or if InfoPath is already open choose Fill Out A Form from the File menu.
  3. In the Fill Out A Form dialog box, select the form that you want to have removed from the cache.

If you do not find the form listed, select the All Forms category, and then look again.

  1. Click Remove This Form in the Form Tasks.

Remove an installed form template from the InfoPath cache:

  1. Shut down InfoPath.
  2. Open the Windows Control Panel.
  3. Launch Add Or Remove Programs.
  4. Locate and select the installed form template, and then click Remove.
  5. Click Yes if asked whether you are sure you want to remove the form template from your computer.

That's it. You have successfully removed a form from the cache. For a normal form template, you only need to launch it again and it will be added back to the cache with the latest changes. An installed form must be reinstalled from an updated .msi file.

©2005 Greg Collins. All rights reserved. Licensed to Autonomy Systems, LLC for display on

Published Jun 21 2005, 04:20 PM by Greg Collins
Filed under:



fkubba said:

That is a good information

The problem i can't find the forms on the "Add/Remove Programs" menu so is they a way to show them?

February 19, 2010 10:00 AM
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.