ARTICLES

Home  > Articles  >  Adding webparts to SharePoint list New, Edit, View forms
Everyone have seen New, Edit, View item forms in lists and libraries. More often than not customers ask to add some extra functionality to them. Some ask to include parts of item information in bold for visibility on a top of the View page; some ask for logic requiring .NET development. The good news is that there is an easy way to include any of those without re-creating edit page or compromising its existing functionality.

We start by opening our site with SharePoint Designer and navigating to the list were interested in. Then we find the page we`d like our custom functionality in, in our case its a NewItem.aspx; we check out and open the page, you`ll see something like this:

spd_new

Now, we`re going to click in the placeholder over the edit form and make the region editable by selecting the command from the menu below:
 

spd_custom_content

Once the area has become editable we cinsert a webpart into there by following the steps from below:
 

spd_webpart

In our case I haven`t really inserted anything usefull - just an announcement list right over the top of my NewItem form:
 

browser

This is very powerful concept since we can place any sort of content or functionality into the page. We can create our custom webpart in .NET to insert any complex logic into the page; we can drop a content editor webpart that will execute a simple javascript and manipulate the look and feel of our page.

The best part is that we`re not breaking the Edit/View/New page. Also, we don`t need to make any modifications on a server to allow execution of .NET code on the page.

Yaroslav Pentsarskyy
Blog: www.sharemuch.com