O'Reilly logo

Microsoft® SharePoint® Server 2010 Bible by Steven Mann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, REST Web Services, XML data, and SOAP 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.

Importing and Displaying Data

The Data View Web Part allows you to flexibly display data from several data sources on your SharePoint ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required