SharePoint 2010 Related Lists

Step 1 : Custom list on the site called Projects. To try it out, all you need is a Title field.

Step 2: Create a new Issues list on the site. Create a new required lookup column in the list, called ProjectID, and make it look up to the Project’s Title field.

Step 3: Create a new Project Tasks list, and also add a required ProjectID field that looks up to the Project list’s Title field.

Step 4: Create a few items in each list, with some tasks and some issues associated with each project name.

Step 5: Go back to the Projects list. Click to create a new view.

Step 6 : On the new view, click Site Actions and choose Edit Page.
             CHECK IT OUT!!! There’s a button in here to Insert Related List!!!



Step 7: Click the Insert Related List button, and the drop-down will show the Project Tasks list and the Issues list. Insert each one on the page.

Step 8: On the Page tab in the ribbon, click Stop Editing. This is what the page looks like now:



DONE. WOW, it’s going to be so easy now for end users to be able to create their own related list views, without even having to know how to create the web part connections!

How did it work? Since the Issues and Project Task lists contained Lookup columns to the Project list, SharePoint automatically knew to consider them “related lists”. If a list has no other lists that look up TO IT, then the related lists button will be grayed out.

Comments

Popular posts from this blog

Activating a SharePoint Feature on Multiple Sites or Site Collections using PowerShell

Managed Path with WildCard and Explicit Inclusion

List All SharePoint 2010 PowerShell Commands