Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

How can we show a List Form/New Item Form (/servername/site/Lists/listname/NewForm.aspx?) as a web part in a SharePoint 2010 page?

Adding a list web part obviously only shows the list items/views. I noticed an "HTML Form Web Part" but that also seems to not be what I'm looking for. "Page Viewer" web part might seem like a workaround but it displays the entire page with menus and everything which doesn't fit the form inside the web part nicely.

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

So it turns out that SharePoint Designer is the only way to accomplish this. You have to go into the page in Designer, edit the page, and select the Insert tab from the ribbon -> New Item Form -> select "CUSTOM LIST FORM..." (not one of the pre-populated lists or you will get the barebones default content type!) -> Choose the list for the form you want to show and the content type, click OK -> Save the page in SP Designer and it will now show on the page embedded as a form. Success!

share|improve this answer
1  
Just found this useful for my work. Have a +1 –  Steven D Andrews Jan 31 at 11:23
    
Alex, have you worked with Page Layouts? Do you know a way to this but in a Page Layout associated with a Content Type, it's not available that option and have tried different ways with code snippets but not luck –  Mr. Feb 18 at 2:59
    
Hi Mr., sorry I haven't done much with Page Layouts. I'd say create a new question on SE :) Good luck! –  Alex Mar 26 at 2:19
add comment

What if you just add ?IsDlg=1 to your link in the page viewer, then it will remove most of the "UI".

/servername/site/Lists/listname/NewForm.aspx?IsDlg=1
share|improve this answer
    
That had no effect whatsoever :) Thanks though, I was able to figure it out using a different method. –  Alex Jun 11 '13 at 18:52
    
Strange, it should display the same as inside a modal dialog. But looks like you found your answer anyway :) –  Anders Aune Jun 17 '13 at 5:21
add comment

Your Answer

 
discard

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.