Insert a WebPart in SharePoint 2010 list form

March 2nd, 2010 | Categories: SharePoint 2010

If you need to add custom JavaScript to SharePoint 2010 list form just like in 2007 (for example the SharePoint Cascaded Lookup), you’d need to insert the Content Editor WebPart to the same form. There are couple of ways to do it. Here’s one:

1. In a SharePoint List View select the "List" tab in "List Tools" tab group:

image

2. Select "Form Web Parts" and select "Default New Form" or "Default Edit Form".

image

From here on you can add webparts and edit their properties like in any other page.

image

  1. April 8th, 2010 at 09:38
    Reply | Quote | #1

    Thanks this is helpful. Very Helpful Post. Thank you.

  2. Saji Ijiyemi
    September 10th, 2010 at 18:08
    Reply | Quote | #2

    Hi,

    Thanks for your post. It was very helpfuL. I have a Content Query WebPart question on MOSS 2007.

    Hello.
    I was customizing the Content Query Web Part (CQWP) in SharePoint Designer but might have accidentally altered something in the code. I get the following error message when I try to add the CQWP to my page:

    “Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator.”

    I have read your blog and other forum but yet to solve this problem.
    Does you know what I need to do just to restore the CQWP to its original, factory default across my environmnet.

    Thank You.

  3. Jake
    May 24th, 2011 at 20:23
    Reply | Quote | #3

    In our SharePoint projects we use a tool to customize SharePoint forms: Advanced Forms for SharePoint (http://www.kaldeera.com)

    Hope this helps.

    Jake