Force InfoPath browser-enabled form to open in the browser
Configure Forms Services and the Form Library to allow and force InfoPath forms to open in the browser.
Problem
You published a browser-enabled form to a SharePoint 2007 form library, but the InfoPath form does not open in the browser; it opens in the InfoPath client application instead and you would like for it to open in the browser.
Solution
Configure Forms Services and the Form Library to allow and force InfoPath forms to open in the browser.
Prerequisites
- Forms Services has been installed on the server.
- Forms Services has been activated on the site or site collection the Form Library is in.
- The InfoPath form template has been browser-enabled and published to the Form Library.
Discussion
Two SharePoint settings determine whether a browser-enabled InfoPath form will open in a browser:
- Form Library setting: Display as a Web page.
- Forms Services setting: Render form templates that are browser-enabled by users.
Form Library Setting
If the InfoPath client application has been installed on a PC, it will be used by default to open forms that have been stored in a Form Library unless the setting Display as a Web page has been set on that Form Library. This setting will force forms to open in a browser even if the InfoPath client has been installed on the PC from where the form is being opened.
Figure 1. "Display as a Web page" setting of a Form Library.
To enable this setting:
- Go to the Form Library to which you published the InfoPath form template.
- Click Settings on the Form Library menu bar and choose Form Library Settings from the drop-down menu.
- On the Customize <Form Library Name> page under the General Settings category, click Advanced settings.
- On the Form Library Advanced Settings: <Form Library Name> page under the Browser-enabled Documents category, choose Display as a Web page.
For more information, see
- Publish a form template to a server running InfoPath Forms Services
- Deploying InfoPath Form Templates to a SharePoint Library
Forms Services Setting
Regardless whether a form template has been forced to open in a browser through the Form Library setting discussed in the previous section or not, if an administrator has disabled the setting to Render form templates that are browser-enabled by users from SharePoint Central Administration, users will not be able to open InfoPath forms in a browser.
Figure 2. "Render form templates that are browser-enabled by users" setting in SharePoint Central Administration
To enable this setting:
- Open SharePoint Central Administration.
- Click the Application Management tab.
- On the Application Management page under the InfoPath Forms Services category, click Configure InfoPath Forms Services.
- On the Configure InfoPath Forms Services page under the User Browser-enabled Form Templates category, check Render form templates that are browser-enabled by users.
Related InfoPath Articles:
- How to publish an InfoPath 2007 browser form to SharePoint
- InfoPath Warning: The form template could not be browser-enabled, but it was successfully published for use with Microsoft Office InfoPath
- "This form template is browser-compatible, but it cannot be browser-enabled on the selected site" message
