This project has moved and is read-only. For the latest updates, please go here.

Get a list items across sites

Feb 8, 2012 at 8:50 PM
Edited Feb 8, 2012 at 8:54 PM

Any other operation like GetListItems but it gets a list items of the same name across different subsites? More like this

SPSiteDataQuery spSiteQuery = new SPSiteDataQuery
Query = query,
Lists = string.Format(ListTemplate, ServerTemplateId),
Webs = "<Webs Scope='SiteCollection'>",
ViewFields = NewsViewFields,
RowLimit = (uint)ItemLimit

if not, how can I use SPservices to achieve the same goal?

Feb 10, 2012 at 2:42 AM
Here's a blog post that gives one approach: