Welcome to Office & SharePoint Pro Sign in | Join | Help
in Search

SUBSCRIBE to Windows IT Pro Magazine & SAVE 30%      FREE Email Newsletters Vista UPDATE, Windows IT Pro UPDATE & More

Joining two sharepoint lists

Last post 12-29-2007, 11:44 AM by kanchanecone. 1 replies.
Sort Posts: Previous Next
  •  12-05-2007, 3:29 AM 28986

    Joining two sharepoint lists

    Prepared By Rajesh Pillai, Bangalore India.----------------------------------------------------------------------------Joints between SharePoint Lists: As a first step let us create two lists in MOSSa) Customers (Title)
    b) Orders (Title, and a lookup value called 'Customer' - which, you guessed it right, is a lookup on the Customer.Title SPColumn).
    Here are my lists – Customer listOrders List  Cool. Now Open the site in SharePoint Designer, and add a new ASPX - Untitled_1.aspx (that's the default name). Give any name.1. In SPD, go to Data View --> Manage Data Sources2. In the window that appears on the right, create a new Linked source as shown below: 3.Click on "Configure Linked Source" and go ahead and add both "Customers" and "Orders" and click "NEXT"4. Make sure that you choose to Join the contents of the two data sources as shown below - 5. Give it a meaningful name such as "My Customer-Orders" in the "General" tab.6. Superb, now while in the <form> tag in your ASPX, click on Data View --> Insert Data View, your UI should now say "Current Data Source – My Customer - Orders" - "next insert fields to create a view".7. Now from the "Data Source Details" pane, select Customers.Title. and choose - Insert Selected Field as "Multiple Item View" as shown below: 8. Now your aspx page looks like this 9. Now place the cursor in front a particular value - Say "Lee Beyer", and now in the Data Source Details Pane, Select Orders --> Title, and choose to insert as "Joined SubView" like shown below:  10 .Do the join as followed  11. That’s all. Format the page as you like my final page looks like this  Thanks,Rajesh Pillai
    Rajesh Pillai
  •  12-29-2007, 11:44 AM 29100 in reply to 28986

    Re: Joining two sharepoint lists

    Can you please eloborate how to join sharepoint list, i am trying to build a list database for my organisation
View as RSS news feed in XML
SPONSORED LINKS FEATURED LINKS

Order Your Fundamentals CD Today!Get up to speed quickly and learn how to uncover rich information management and deployment capabilities with this free SharePoint CD. Simplify Content Migration for SharePointEase the job of SharePoint migration and ongoing site maintenance. Michael Noel outlines your migration options in this white paper. Download today! You’ve Deployed SharePoint…Now What?This one-day free online conference delivers the technical knowledge needed to kick MOSS up a notch. In one information-packed day, independent SharePoint experts will present practical, real-world information and provide take-away, ready-to-use solutions Ease Your Scripting Pains with the Flexibility of PowerShell!Join MVP Paul Robichaux on December 11, 2008 at 11:00 AM EDT as he equips you with PowerShell basics in 3 introductory lessons, each followed by a live Q&A session—all on your own computer! Protecting Sharepoint with Double-Take for Windows 5.0Providing SharePoint recoverability is a two step process. Learn those steps now. Vendor protection solutions for SharePoint are incomplete at worst and unreliable at best. So what’s an Administrator to do? Read More… Maximize Your SharePoint Investment This web seminar discusses how true bi-directional replication of SharePoint content from one server to another enables branch offices to maintain access to current SharePoint content.