Chapter 8. Creating Web Parts

Introduction

A Web Part is the basic web element used in MOSS 2007 to contain and organize information on a Web Part page. A Web Part page is a specialized web page that contains one or more Web Parts and provides a container for different types of Web Parts. Web Parts are designed for different purposes, such as to contain lists, organize documents, and create forums.

MOSS 2007 comes with a default set of Web Parts:

  • Content Editor Web Part

  • Form Web Part

  • Image Web Part

  • List View Web Part

  • Page Viewer Web Part

  • Site Users Web Part

  • XML Web Part

These default Web Parts can be customized to suit your specific needs.

Default Web Parts

Each Web Part serves a particular need within a Web Part page. A Web Part page can contain as few or as many Web Parts as it is formatted to contain, and individual Web Parts can be set up to connect to one another, providing a unique presentation of data.

Content Editor Web Part

This Web Part is used to add formatted text, images, tables, and hyperlinks to a Web Part page. The information can be added in HTML format using the Source Editor, the Rich Text Editor, or a Content Link. The most common use for this Web Part is to add textual and graphic data, similar to how a typical web page presents on the Internet. Hyperlinks can be included, but a remote web page cannot be presented in a frame in this Web Part. Instead, use the Page View Web Part to display web content in frames. Although the Content Editor Web Part can accept most HTML tags, ...

Get SharePoint 2007: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.