updating existing form templates InfoPath 2007
Author: mety Labels:: updating existing form templates InfoPath 2007When you publish a form template that you have changed, InfoPath can update both the form template (.xsn file) and any existing forms (.xml files) that are based on that form template. By default, InfoPath automatically replaces the older version of the form template with the latest version. You can choose the update method that you prefer for existing user forms. How InfoPath updates form templatesWhen users first open a form that is based on your form template, the underlying form template file is stored in a temporary location on their computers. This temporary location is called a cache. Among other things, the cached location allows users who are offline to be able to work with a local copy of the form template.InfoPath updates the cached version of a form template whenever a new version becomes available. This update happens automatically whenever users open a new version of the form. If users happen to be working offline when you publish an updated form template, the update occurs the next time that they connect to the network. Users typically won't notice that an update is occurring, although you can specify otherwise when you design your form template. Note A custom installed form template is a form template that is installed on users' computers by means of a Microsoft Windows Installer (MSI) package or other Setup program. With this type of form template, you must manually reinstall the form template on users' computers each time you update it. The installation may happen automatically, through a program such as Microsoft Systems Management Server (SMS) 2003, through a desktop-to-desktop deployment, or through some kind of installation script. Considerations for updating browser-enabled form templatesAll browser-enabled form templates (browser-enabled form template: A browser-compatible form template that has been published to a server running InfoPath Forms Services, and that has been browser-enabled so that users can both display and fill out the form in a Web browser.) are hosted on a server that is running InfoPath Forms Services, which is a server technology built on Microsoft Windows SharePoint Services 3.0. There are two deployment modes for hosting form templates on a server running InfoPath Forms Services: one for end-user deployment and one for administrative deployment. When you update a browser-enabled form template, consider the following:
Help prevent data loss in existing user formsIf you need to update an existing form template, you can change it, republish it, and redistribute it to users. However, certain types of changes may prevent you from accessing the data in the completed forms that were based on the original form template. If you make a change to a form template that may result in data loss or errors in forms that have been filled out already, a message will appear. You will often see the message when you add new, required fields to a form template, or when you rename or remove fields or groups from the form template. When you receive this message, if you click Yes and continue with your changes, it may not be possible to access the data in existing forms after you publish the updated form template. In some scenarios, this may be acceptable. You will have to decide what works for your situation. To help ensure that you can access the data that you already collected from users, follow these guidelines when you make changes to your original form template:
Options for updating existing user formsWhen you make changes to an existing form template, the existing forms (.xml files) that are based on that form template may need to be updated so that they work with the latest version of the form template. This helps ensure that users can continue to work with their existing forms without any problems, and that you can continue to access any data that is collected in those forms. When you update your existing forms for users, there are three methods you can choose from:
|