I would have thought this would be something I could find easily with a search, but not so far.

I have a parent/child relationship between two lists using a lookup column in the child. I have added a webpart to display a list of child items at the bottom of the parent display form, with filtering provided by configuring a connection between the display form webpart and the list view webpart.

This works well so far, but when adding a child to the list displayed it has to be manually associated with the parent. I would like to pass the lookup value of the parent to the new form of the child. Preferrably, this would be thru the standard add item menus.

What is required to do this?

In the interest of full disclosure, the child list has multiple content types, but I doubt this will cause much of a problem. It's just a matter of adding the content type GUID to the URL of the form.

2 Answers 2


I've done this in the past through the use of a custom form web part. You can grab the ID from the query string, load additional attributes if needed, and then write the item(s) to the child web part. Using jQuery and SharePoint's web services makes this very easy.

  • JQuery? Yeah, that's on the list of things to learn. Did it with javascript. Thanks.
    – David Culp
    Commented Oct 29, 2010 at 15:12
  • Do you have a more detailed description of the solution? I have implemented the way you describe by having it only allow the user to select the parent list item from the lookup. However, my new item form for the child loads slowly because the parent list used for the lookup contains a large number of records.
    – skeletank
    Commented Dec 4, 2014 at 16:49

In SharePoint 2010, use related lists and this script: http://code.google.com/p/sp2010-related-list-prefill/


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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