0

Need to get the value of a lookup column and pass it to a child list display in a new page Use SP Services? has this ever been done not finding any info. Thank you

1 Answer 1

0

Creating a SharePoint Parent/Child List Relationship–No SPD Version

The blog post explains the following in short:

1) Edit the default Display Form for the Issue list
a. Add Time list to the page
b. Set up web part connection between the Issue Display Form and the Time list
c. Write a script that overwrites the “Add new item” link and passes in the Issue’s ID as a Query String parameter

2) Modify the default New Item Form for the Time list and add a script that:
a) Sets the value of the IssueID lookup field
b) hides the “Issue ID” field to stop meddling users and their darn dogs from changing it

4
  • Yes, already have that, issue is I am using Parent, child , grandchild. In the Parent I have user lookup fields and need to pass that value from the Parent to the Grandchild display page.
    – Brian K
    Commented Nov 19, 2014 at 16:52
  • Tried using this method, issue is it only pulls the query string and not the user record. Any ideas how this could be done?
    – Brian K
    Commented Nov 20, 2014 at 15:33
  • Once you get the query string you can use SPServices/JSOM to query the record on page load. Commented Nov 20, 2014 at 20:23
  • Yes, understood but the ID in the string is the ID of the child list not the Parent, remember I am using Parent Child Grandchild relationships
    – Brian K
    Commented Nov 21, 2014 at 19:31

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.