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 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.

share|improve this question
up vote 3 down vote accepted

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.

share|improve this answer
JQuery? Yeah, that's on the list of things to learn. Did it with javascript. Thanks. – David Culp Oct 29 '10 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 Dec 4 '14 at 16:49

In SharePoint 2010, use related lists and this script:

share|improve this answer
Thanks, I'll look into it. – David Culp Jan 26 '11 at 19:12

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.