Creating a Parameter Inside a Data View

The small Web application you created in the previous exercise enabled you to pass the ListID parameter into the data source for the list so that the view of the fields that are shared across all of the lists is populated by the data query itself. In other words, each time you click a list name, you pass the ListID parameter into the data source and display the values from the list name that you click. However, sometimes you’ll want to return all of the items of a data source and then perform a parameterized function on the view itself. For example, you might want to use a parameter in an XML data source (which by default only has two parameters at the source: the file name and the file path). Or you might ...

Get Building Web Applications with Microsoft® Office SharePoint® Designer 2007 Step by Step 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.