Comments on: Passing Multiple Query String Variables Using SPD – Follow Up on Creating Parent / Child List Relationships http://www.endusersharepoint.com/2009/10/05/passing-multiple-query-string-variables-using-spd-%e2%80%93-follow-up-on-creating-parent-child-list-relationships/ No GeekSpeak on SharePoint 2007 WSS and MOSS Mon, 26 Jul 2010 20:19:10 -0400 http://wordpress.org/?v=2.8.6 hourly 1 By: Brad http://www.endusersharepoint.com/2009/10/05/passing-multiple-query-string-variables-using-spd-%e2%80%93-follow-up-on-creating-parent-child-list-relationships/comment-page-1/#comment-18040 Brad Wed, 14 Oct 2009 19:41:03 +0000 http://www.endusersharepoint.com/?p=2464#comment-18040 So have been using SPD for the last week, trying to do something similar (create a parent purchase requisition with details (child) for each item to order). I am not a hard core programmer but know my way around apps used to build code. In all my searches I have not found an easy way to pass a parent id to set the relationship for a new child row. This post is as close I can find. I find it hard to believe it is this difficult, that requires java code (to set the new child form value to the parent id, which btw i cant get to work) to do something that would take a few clicks in access with no coding (see subforms). This is a common business requirement (creating multiple child rows with a default value equal to the parent id) and there seems to be no material on how to do in SPD or SP UI. I.e., how do you originally enter data for parent and child rows and keep the relationships (without having to manually type the parent id in the children rows) Am extremely frustrated, any help appreciated (incl if the answer is - "nope, it is really this hard in SP"). PS - "*one caveat* I have had very limited success re-associating forms this way. It is SUPPOSED to work fine. Unfortunately, just because something in SharePoint is supposed to work, doesn’t mean it will." A: you have to set the "content type specific forms" drop down list to "item" or else you'll get a silent fail and it will keep defaulting back. (dont ask me why.) So have been using SPD for the last week, trying to do something similar (create a parent purchase requisition with details (child) for each item to order). I am not a hard core programmer but know my way around apps used to build code.

In all my searches I have not found an easy way to pass a parent id to set the relationship for a new child row. This post is as close I can find.

I find it hard to believe it is this difficult, that requires java code (to set the new child form value to the parent id, which btw i cant get to work) to do something that would take a few clicks in access with no coding (see subforms).

This is a common business requirement (creating multiple child rows with a default value equal to the parent id) and there seems to be no material on how to do in SPD or SP UI.

I.e., how do you originally enter data for parent and child rows and keep the relationships (without having to manually type the parent id in the children rows)

Am extremely frustrated, any help appreciated (incl if the answer is – “nope, it is really this hard in SP”).

PS –
“*one caveat* I have had very limited success re-associating forms this way. It is SUPPOSED to work fine. Unfortunately, just because something in SharePoint is supposed to work, doesn’t mean it will.”

A: you have to set the “content type specific forms” drop down list to “item” or else you’ll get a silent fail and it will keep defaulting back. (dont ask me why.)

]]>