4

Posted: October 27th, 2009    By: Devin Walker   

IconDo you have two lists that you would like to display their data in one convenient location? Well, the SharePoint Data View should work perfectly for this type of use. Follow along with the article to understand more about using the Data View to connect two list and display information of your choosing.

To begin, you must have SharePoint Designer 2007 and appopriate permissions within both lists and the site(s). Also, some general understanding of MOSS is always a plus. Got it? Good, let’s continue.

Getting Setup:

1. Open the Site holding the page you wish to display the data view on in SharePoint Designer 2007.

Step1

2. Detach the Page from the Layout and Check it out so we can edit it using SPD

Step 2

3. Once the page has finished loading select the appropriate Web Part Zone and click Data View > Insert Data View

Step3

You will now see the Data Source Library Task Pane on the Right Panel

DataSourceLibrary

Please note: If your lists are on another site collection you will have to use the Connect to another library… link

4. Expand Linked Sources and click Create a new Linked Source…

Step 4

The Data Souce Properties window pops up; click Configure Linked Source…

5. Add lists you want linked from the Available Data Sources to the Selected Data Sources and click Next

Step 5

6. For this example we will be using the “Join the contents of the data sources…” option; when you are done click Next

 Step 6

7. In the Data Source Task Pane expand the drop-down to our newly created Linked source and click Show Data

Step 7

8. Select the appropriate columns from each data source and expand the Insert the Selected Fields as… drop-down and insert as either single or multiple item view (depending on your preference).

Step 8

9. Now you will see the data in either a side-by-side view or stacked (depending on if you joined or merged when linking the two data sources)

Step 9

10. Pretty it up a bit and make the Data View display the information how you want, save the page, reattach to the page layout and, finally, check in to major version.

Like this article? Why not leave a comment? Scroll down to do just that!

Related posts:

  1. SharePoint Browser Error Solution: Datasheet View Error Problem description: If a site has a document library using the Datasheet view a user will receive the following error when trying to navigate to the site. “The list is displayed in Standard view. It cannot be displayed in Datasheet view for one or more of the following reasons: A datasheet component compatible with Windows [...]...
  2. SharePoint Data View Web Part Announcements List The frontpage of any corporate Intranet should have announcements to provide site users with up to date information about the on goings of the company. SharePoint provides a number of options to make this possible. The following article will provide you with information about how to use the Data View Web Part to display an [...]...
  3. Custom SharePoint List Icons Recently I was asked by my manager to create a dashboard for executive members to quickly see the progress of active projects. She explained to me that she wanted a “priority level” indicator similar to that of the KPI in a basic table structure. The color of the indicator would change depending on the status [...]...
  4. Import Outlook Calendar to SharePoint SharePoint makes it very easy to export Calendars from SharePoint to Outlook.  But what if you have an Outlook calendar that you want on SharePoint?  This becomes more difficult and you could quickly find yourself lost on how to complete this task.  Don’t worry though, it’s not that hard.  The following article will explain a [...]...
  5. How to remove the “title” column from a SharePoint list Have you asked yourself the question: How do I remove the ‘title column’ from a Sharepoint list?  It can be annoying trying to figure out how to remove this column from default lists.  Often, site admins want their audiences to click on “New Item” in a Sharepoint list and not have to fill out the [...]...

4 Responses to 'Link Two Lists and Display the Data Using the SharePoint Data View'

Subscribe to comments with RSS or TrackBack to 'Link Two Lists and Display the Data Using the SharePoint Data View'.

  1. I was reading over your post and I think I am a little confused. You can not query Lists in a different site collection. Do you know something I wish I did?

    I just want to clarify that you are not able to query lists and libraries across site collection with “Connect to another library”.

    Thanks,
    Rick

    Rick

    15 Jan 10 at 4:51 pm

  2. Thank you so much…it was of such a great help …i was looking for a no code good solution and dang i got ur article…i owe u a beer man..thanks again dude..

    sid

    18 Mar 10 at 7:47 pm

  3. @Rick: You can query lists and libraries across Site Colletcions, unless you’re trying to do a roll up.

    I can’t remember exactly if it was with the XML or XML Web Service but you did have to point to the Lists.asmx. I’m sure you can find more info online :)

    Richard

    11 May 10 at 4:23 pm

  4. Can you add to either list then after it’s put up on sharepoint? I mean add new items content to either list? Even though this is only a “view”.

    Dale

    22 Jul 10 at 12:52 pm

Leave a Reply