SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a working document library that uses a template content type, which is an InfoPath form. I have enabled the browser compatibility settings and the "view form in browser" option in the document library settings. With these settings, I can get to the normal browser-based form by clicking New. This opens a new window with the form between two gray bars with buttons on them.

I'm interested in embedding this form in a SharePoint page, preferably without the gray bars so the only submit option is my button.

Is this possible? I'm thinking that it may be possible to embed it in a web part? That would be perfect.

share|improve this question
up vote 1 down vote accepted

The toolbar and various options are all part of what is configured in the form's options. If you want to display the form on a web part page, simply reference it in a Web Page Viewer web part.

share|improve this answer
Thanks for pointing me to the Web Page Viewer web part. Where do I configure the "form's options" related to the gray bar and buttons? Thanks! – mouche Jul 9 '10 at 21:24
I found it. Thanks again for your help. – mouche Jul 9 '10 at 21:39

Follow Nick Grattan's PDF document "How to Host Microsoft InfoPath Forms in SharePoint 2007 Web Part Pages" found here:

You don't need to do this for 2010 as the control is already there, just add it to the page.

Hope that helps.

share|improve this answer
Wow, great! Thanks. – mouche Jul 16 '10 at 6:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.