Thursday, December 23, 2010

Creating SharePoint Web Part Pages

Problem:
By default, SharePoint (WSS3 and MOSS 2007) builds a main page for every site. However, I would like to have multiple web pages in a particular site so I can build different environments for various projects and teams within a single site.

Solution: It would be common for different teams to want to see different filtered 'views' of the same lists or libraries. To present a set of filtered content to a distinct set of users, you can build a "Web Part Page" for each project or team. Each page can contain multiple web parts of existing content in a filtered view
In this article I will show how to create a Web Part Pages library, creating a few new Web Part Pages, and then describe how different teams can look at the same target (calendar and document) resources using a pre-filtered view for a particular team. These pre-filtered views will show only the data needed for each team.


Step1: In a WSS3 or MOSS 2007 site, click on "View All Site Content" in the Quick Launch area
(left).
Step2: Then click the "Create" link.
Step3: Choose "Document Library" as the object type (you can choose as per your wish also)
Give the document library a name. In a production environment, in the Navigation choice, you may choose to leave this library out of the Quick Launch area and choose a different method of navigating. This option can be changed later. It makes no difference for the purpose of this exercise.
Choose "Web Part Page" as the "Document Template".
--end of creating document library to store webpart pages---
Adding Web Part Pages:
1. In the new library, click the "New" dropdown and choose "New Document".

2. Give the Web Part Page a Title and then choose a desired layout. The little graphic on the bottom left shows an approximation of what the page layout will look like. With just the web browser*, you cannot change the layout style, so be deliberate with the choice. Don't worry too much, you can always just delete the page and create a new one.
(* With SharePoint Designer, you can add or remove Web Part Zones. What's a Web Part Zone? It's the little areas on the Web Part Page where you can place web part objects. Each of these say "Add a web part" when you are in page edit mode.)

3.The next page offers a blank "Web Part Page", where you can add web content as desired.
4. After creating a few of these pages, I end up with a document library that looks with items with your page name.

No comments:

Post a Comment