Chapter 20. Using the Data View Web Part

In this Chapter

Importing and displaying data
Customizing the Data View presentation
Using XPath expressions

The Data View Web Part is a very flexible tool for accessing, connecting, styling, and displaying data in your Web Part pages. By allowing you to present data from a variety of data sources including SharePoint lists and libraries, databases, server-side scripts or RSS feeds, XML data, business data, and XML Web services, the Data View Web Part creates many opportunities to include data sources on your SharePoint sites without needing to create and install custom Web Parts. The data view capabilities also enable you to create writable views of data if allowed by the data source so that users can create new or update existing data.

This chapter covers the functionality of the Data View Web Part and describes in detail how you can use it to connect to the data sources it supports and present that data in the Data View Web Part using SharePoint Designer. In addition, we customize the presentation of data in your portal by sorting, grouping, filtering, linking to data sources, connecting to other Web Parts, and applying conditional formatting so that you can transform your data into information for your users in this Web Part. Finally, we cover the ability to use XPath expressions to calculate fields and sorting, filtering, and formatting criteria.

Get Microsoft® SharePoint® Server 2007 Bible 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.