Best Practices for Using InfoPath Forms in SharePoint

To use the InfoPath forms with SharePoint in a web browser, refer to the following table.

InfoPath Form Template (XSN) Details
Clean

(XSN is designed in the InfoPath client - no managed code DLL in XSN, no JScript in XSN, and no involvement of Visual Studio 2005)

Displays form in a Web browser. Deployment of XSN from within Envision to SharePoint is not supported, must use InfoPath client software to publish.

If you accidentally associate your XSN to a process template and AgilePoint Envision has added JScript into your XSN, which makes your XSN unable to be rendered in a Web browser, you can use the Remove Code feature in InfoPath client to remove the JScript using (Tools > Form Options > Programming > Programming Language > Remove Code).

JScript in XSN Microsoft does not support displaying the XSN in a Web browser.
Managed code DLL in XSN Deployment of XSN from within Envision to SharePoint is supported. The XSN is first added to the SharePoint Central Admin, then it is activated to the SharePoint site as a content type, and finally a form lib is created based on the content type. Envision will not add JScript to the XSN if the XSN contains a DLL, so that it can be displayed in a web browser.