3.3. Using SharePoint Lists and Libraries

SharePoint is made up of content and data. The content in SharePoint is the user interface and information stored in Web Parts, while the data is information that SharePoint stores in the database and can be versioned. The lists and libraries of SharePoint are the core to store data in SharePoint. Lists and libraries are web pages in Windows Services SharePoint 2007 where information can be stored and organized. Many types are available and are covered in the following sections. A list is simply that—a set of data that lists information that is helpful to the users. The lists can be set up and customized by a site designer or authorized user to contain any number of fields required for list data. A library is where a collection of files, as well as associated data, can be stored and managed. SharePoint makes it very easy to store and manage information in a way that is most useful to the end user. Every list is defined in a file called Onet.xml that is stored in the site definition. Following is a table that describes some of the standard lists you will find in some of the Onet.xml file, as well as the number that represents the list internally. This value is used in many of the configuration files to reference the list as well as when programming with lists. Keep in mind you might not have all list types for every site.

Figure 3.3. Figure 3-3
ValueAvailable on Default Team SiteDescription
100YesGeneric list
101YesDocument library
102 ...

Get Professional SharePoint® 2007 Development 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.