Embed an InfoPath 2010 form in a web part in SharePoint

Learn how you can use the InfoPath Form Web Part in SharePoint 2010 to embed an InfoPath 2010 form in a web part on a SharePoint wiki page.

ADVERTISEMENTS

SharePoint 2010 comes with a web part called the InfoPath Form Web Part, which you can use to embed an InfoPath 2010 form in a web part on a SharePoint web page.

In SharePoint 2010 you can place web parts on web part pages or wiki pages. Therefore, you can use the InfoPath 2010 form web part to embed InfoPath forms in web part pages or wiki pages.

Since wiki pages are used as the default page type when you create a Team Site in SharePoint 2010, the following instructions are for embedding an InfoPath form in an InfoPath 2010 form web part on a SharePoint wiki page:

  1. In InfoPath 2010, design an InfoPath browser-compatible form template (create a SharePoint list form or a SharePoint form library form) and publish it to SharePoint.
  2. In SharePoint 2010, go to the wiki page on which you want to embed the InfoPath form, and click Site Actions > Edit Page.
  3. Place the cursor anywhere on the page where you want to embed the InfoPath form, and then on the Editing Tools tab, click Insert > Web Parts > Web Part.
  4. Select Forms in the Categories list, select InfoPath Form Web Part in the Web Parts list, and click Add.
  5. Once the web part has been added, you must configure it to display an InfoPath form of your choice. On the web part, click Click here to open the tool pane.
  6. On the tool pane, select the form library you published the InfoPath form to from the List or Library drop-down list box, select the view to display from the Views drop-down list box if the form has multiple views, expand Appearance and change the title for the web part to a suitable title, configure any other options you would like to configure, and then click OK.
  7. On the ribbon, click the Save & Close button.

The InfoPath form should now be embedded in an InfoPath 2010 form web part on the SharePoint wiki page.

 
 Subscribe for updates via RSS or Email

Copyright: This article may not be used on web sites (whether personal or otherwise), copied, disseminated, altered, printed, published, broadcasted, or reproduced in any way without an expressed written consent of S.Y.M. Wong-A-Ton. The techniques demonstrated in this article may be used within any Microsoft InfoPath project. This article is provided without any warranties. Copyright for this article is non-transferrable and remains with the author, S.Y.M. Wong-A-Ton.

InfoPath 2013 Cookbook: 121 Codeless Recipes for Beginners
InfoPath 2013 Cookbook 2: 121 Codeless Recipes for SharePoint 2013
InfoPath 2010 Cookbook: 101 Codeless Recipes for Beginners
InfoPath 2010 Cookbook 2: 101 Codeless Recipes for SharePoint 2010
InfoPath 2010 Cookbook 3: 101 Code Recipes for C# Developers
InfoPath 2010 Cookbook 5: Integrating InfoPath with Excel and Excel Services


Related InfoPath Articles:

ADVERTISEMENTS

InfoPath 2013 Cookbook: 121 Codeless Recipes for Beginners

InfoPath 2013 Cookbook 2: 121 Codeless Recipes for SharePoint 2013

InfoPath 2010 Cookbook: 101 Codeless Recipes for Beginners

InfoPath 2010 Cookbook 2: 101 Codeless Recipes for SharePoint 2010

InfoPath 2010 Cookbook 3: 101 Code Recipes for C# Developers

InfoPath 2010 Cookbook 4: 101 Code Recipes for VB Developers

InfoPath 2010 Cookbook 5: Integrating InfoPath with Excel and Excel Services