We have a bunch of projects each represented by a Sharepoint 2010 subsite.

We would like to store and track metadata and run reports across this list of subsites.

Is there any way to query and maintain a current list of subsites? In excel? Into a regular SharePoint list?

Thank you!

1 Answer 1


I'd suggest to leverage the SPDataSource control and it's Webs DataSourceMode.

After creating the datasource, you can display the list of subsites using SPGridView or DataFormWebPart (where you can use XSLT to format the output) or any other control which can grab data from IDataSource.

Please have a look at the following article for details and example:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.