Represents the implementation of the InfoPath Form Web Part.
Assembly: Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)
The InfoPath Form Web Part can display a browser-enabled InfoPath form in a SharePoint Web Part page. The InfoPath form displayed in the Web Part can be the form for editing items in a SharePoint list that was customized in Microsoft InfoPath 2010, or a form based on a browser-enabled form template that was published to a document library.
To customize the form for a SharePoint list in InfoPath 2010, navigate to the list, click the List tab under List Tools, and then click Customize Form in the Settings group.
To add an InfoPath Form Web Part to a Web Part page
Create a new Web part page, or edit an existing Web part page.
Click a zone in the page, and then click Add a Web Part.
Under Categories, click Forms, click InfoPath Form Web Part, and then click Add.
In the Web part, click the Click here to open the tool pane link, and then specify the list that has a customized form, or the document library that contains the published InfoPath form to display.
After specifying the list or document library that contains the form to display, you can specify other properties of the Web part in the tool pane, such as whether to display the form as read-only, or which view of the form to display by default.
The InfoPath Form Web Part also supports providing and consuming data with other Web Parts that are connected using the Connections command on the Web Part menu. In scenarios where the form displayed in the InfoPath Form Web Part can edit values is consumes from another Web Part, you must first open the form in the InfoPath designer, and promote the form fields required as input or output parameters as Web Part connection parameters by using the Publishing Wizard or the Forms Options dialog box. In scenarios where the form displayed in the InfoPath Form Web Part will provide values to another Web Part, in addition to promoting the form fields required as output parameters by using the Publishing Wizard or Form Options dialog box in the InfoPath designer. Additionally, to send updated data to the consuming Web Part, you must define a rule in the form that uses the Send data to Web Part action to send updated data to the consuming Web Part. For more information, see Working with the InfoPath Form Web Part.