This project is read-only.
Project Description
A data source that returns SPWeb properties for an SPWeb with optional sub webs

Installation Instructions -
1. stsadm -o addsolution -filename spwebsdatasource.wsp
2. stsadm -o deploysolution -name spwebsdatasource.wsp -immediate -allowgacdeployment -url <url>
3. stsadm -o execadmsvcjobs
4. Open SharePoint Designer and insert a new Data View to a web part zone
5. Add to the top of the page - <%@ Register Tagprefix="SPWebsDataSource" Namespace="SPWebsDataSource" Assembly="SPWebsDataSource, Version=, Culture=neutral, PublicKeyToken=55ca716993b13343" %>
6. insert the following into the DataSources section - <SPWebsDataSource:SPWebsDataSource runat="server" id="SPWebsDataSource">
7. Use all of the OOTB DVWP functionality.

Note the following data source parameters

WebId - the Guid to a starting SPWeb
WebURL - the url to a starting SPWeb
Recurse - default to true to recurse through sub webs
IncludeRootWeb - default to true to show data for the starting SPWeb

Last edited Jul 21, 2010 at 10:26 PM by wildert, version 4