Add or remove a Web Part

To customize your Web Part Page (Web Part Page: A special type of Web page that contains one or more Web Parts. A Web Part Page consolidates data, such as lists and charts, and Web content, such as text and images, into a dynamic information portal built around a common task.), you can add Web Parts (Web Part: A modular unit of information that consists of a title bar, a frame, and content. Web Parts are the basic building blocks of a Web Part Page.) to the page by using either the Add Web Parts dialog box or a Web Part gallery in the tool pane.



Add a Web Part by using the Add Web Parts dialog box

The fastest way to add a Web Part to a Web Part Page is to use the Add Web Parts dialog box. You can use this dialog box to quickly add lists, libraries, and other Web Parts to your Web Part Page. If you are a site owner, you can add new Web Parts to the list that is displayed in the Add Web Parts dialog box, and you can create custom groups that you can use to display certain Web Parts together in the list.

  1. On the Site Actions menu Site Actions menu, click Edit Page.
  1. In the Web Part zone that you want to add the Web Part to, click Add a Web Part.
  2. In the Add Web Parts dialog box, select the check box for the Web Part that you want to add to the page.

ShowTypes of Web Parts

Windows SharePoint Services provides several Web Parts that are ready to use with your site. You can use these built-in Web Parts, customize them to suit your needs, or create new Web Parts and upload them for use throughout your site.

Default Web Parts

The following Web Parts are included by default in any site and can be customized to suit the needs of your team. Many of these Web Parts can also be connected to each other to create a variety of unique solutions:

  1. Content Editor Web Part    You can use the Content Editor Web Part to add formatted text, tables, hyperlinks, and images to a Web Part Page.
  2. Form Web Part    You can use the Form Web Part to connect to and filter a column of data in another Web Part. Both Web Parts must run on the same server.
  3. Image Web Part    You can use the Image Web Part to add a picture or graphic to a Web Part Page. To more easily coordinate the image with other Web Parts on the page, you can control the vertical alignment, horizontal alignment, and background color of the image inside the Image Web Part by editing its custom properties in a shared view.
  4. List View Web Part    You can use the List View Web Part to display and edit list or library data on your site and to connect to other Web Parts, including other List View Web Parts. Lists are information that you share with team members and often display in tabular format. List views display this information in different ways for different purposes, such as filtering, sorting, or selecting specific columns.

 Note   There is no Web Part called List View. When you create a list on your site, a List View Web Part is automatically created and named after the list. For example, if you create a list called Boats, a Web Part called Boats will be available in the Site Name gallery. The Web Part automatically displays the data contained in the list that you created.

  1. Page Viewer Web Part    You can use the Page Viewer Web Part to display a Web page, file, or folder on a Web Part Page. You enter a hyperlink, file path, or folder name to link to the content.
  2. Site Users Web Part    You can use the Site Users Web Part to display a list of users and groups who have permission to use a site. The Site Users Web Part automatically appears on the home page of a Document Workspace site. You can also add the Site Users Web Part to any Web Part Page.

 Note   In sites that are running on Microsoft Windows SharePoint Services 2.0 and earlier, the Site Users Web Part was called the Members Web Part.

  1. XML Web Part    You can use the XML Web Part to display Extensible Markup Language (XML) and apply Extensible Stylesheet Language Transformations (XSLT) to the XML before the content is displayed. For example, you might have an XML file that contains a list of boats, prices, and links to images of the boats. You can use the XSLT to transform the data to display a list of boats and prices and make the boat name a hyperlink to display the image in a separate window.

Preconfigured List View Web Parts

The following Web Parts are built into the Windows SharePoint Services team site template and are automatically configured and ready to use on a Web Part Page when you create a new team site. Different combinations of these Web Parts are included when you create a team site or workspace site, depending on which site template you select.

 Note   These Web Parts are derived from the List View Web Part and use preconfigured Web Part templates to create their unique layout and design. To add data to these lists, on the Quick Launch, click View All Site Content, and then click Lists. On the All Site Content page, click the name of the list for which you want to add data.

  1. Announcements    Use the Announcements Web Part to post news, status, and other short bits of information that you want to share with team members.
  2. Calendar    Use the Calendar Web Part to display upcoming events or team schedules.
  3. Links    Use the Links Web Part to post hyperlinks to Web pages that interest your team.
  4. Shared Documents    Use the Shared Documents Web Part to share files from the default document library with site users.
  5. Tasks    Use the Tasks Web Part to assign a task to a member of your team, specify its due date and priority, and indicate its status and progress.
  6. Team Discussion    Use the Team Discussion Web Part to provide a forum for talking about topics that interest your team.

Custom Web Parts

By using a programming environment that is compatible with Windows SharePoint Services, such as Microsoft Visual Studio, developers can exploit the full feature set of Microsoft ASP.NET to create custom Web Parts. A Web Part Page is an ASP.NET file (.aspx), and Web Parts are derived from Web Form Controls. To further enhance Web Part Pages, developers can create their own Web Parts that provide new functionality. Developers can also add custom properties to the Web Parts, add custom builders in the tool pane for specialized user interfaces, and connect to other Web Parts by using Web Part connections. For more information about creating and deploying Web Parts, see the Windows SharePoint Services 3.0 SDK, which is available from the Windows SharePoint Services Developer Center on MSDN.

You can also use Web Parts that other people or companies have created. You must have appropriate permissions to add a third-party Web Part to your Web Part Page or site. Some Web Parts may need to be deployed directly to the server. If you are unable to add a third-party Web Part to your Web Part Page or site, contact your administrator for assistance.

You can add more than one type of Web Part by selecting additional check boxes for the Web Parts that you want to add.

  1. Click Add to add the Web Parts to the page.

Top of Page Top of Page

Add a Web Part by using the tool pane

If you want to have better control over which Web Parts are added to Web Part zones on your page, use the tool pane. You can use the tool pane to select Web Parts from different Web Part galleries. You can also use the tool pane to search for Web Parts and to import new Web Parts.

  1. On the Site Actions menu Site Actions menu, click Edit Page.
  1. In the Web Part zone that you want to add the Web Part to, click Add a Web Part.
  2. Click Advanced Web Part gallery and options to display the tool pane.
  3. In the tool pane, do one of the following:
    • Browse for a Web Part     At the top of the tool pane, click the arrow, and then click Browse. Click the gallery name to view a list of Web Parts that are available for that gallery. Click Next to view more Web Parts in that gallery.

 Tip   Click Filter to display a subset of the Web Parts in the Web Part List. You can filter the list to display All Items, Web Parts, Lists, or Libraries.

  • Search for a Web Part     At the top of the tool pane, click the arrow, and then click Search.
  • Import a Web Part     At the top of the tool pane, click the arrow, and then click Import.
  1. Click the name of the Web Part that you want to add.
  2. Select the Web Part zone that you want to add the Web Part to, and then click Add.

 Tip   You can also drag the Web Part to the location that you want on the Web Part Page.

 Notes 

  • The Closed Web Parts gallery contains closed Web Parts for the active Web Part Page. The Site Name Gallery contains Web Parts for the active site. The Server Gallery contains Web Parts that are deployed on your server, and the Online Gallery contains Web Parts that are part of an online library.
  • If you cannot find the Web Part that you want, the site administrator might have removed the Web Part or changed its title. To locate the Web Part, contact the site administrator or the administrator of the top-level site.

Top of Page Top of Page

Remove or delete a Web Part

  1. On the Site Actions menu Site Actions menu, click Edit Page.
  1. Do one of the following:
    • To remove the Web Part from the page but keep it available for later use, click the Web Part menu Web Part Edit Menu, and then click Close. You can also click the Close button Button image. A copy of the Web Part remains in the Closed Web Parts gallery and can be added to the page again later. Any customizations that you made to that Web Part are saved.
    • To permanently delete the Web Part from the page, click the Web Part menu Web Part Edit Menu, click Delete, and then click OK. The Web Part is deleted from the Web Part Page and can be added again later. Any customizations that you made to the Web Part are not saved. You can add a new instance of the Web Part to your page later.

Top of Page Top of Page

 
 
Applies to:
SharePoint Server 2007, Windows SharePoint Services 3.0