A class of the Microsoft.SharePoint namespace, SPSiteDataQuery represents a query that can be performed across multiple lists in multiple Web sites in the same Web site collection.

learn more… | top users | synonyms

1
vote
1answer
278 views

List item field value has ID and # prepended

I want to display a list of items with name and modified time, like so: SPWeb thisWeb = SPContext.Current.Web; SPWebCollection webs = thisWeb.Webs; SPSiteDataQuery query = new ...
1
vote
0answers
42 views

SP2007 SPSiteDataQuery - Exclude user permissions from a specific group

We have a site (SP2007) with approx 1000 second-level sub-sites. We would like all users to have read access to all of the lists in the sub-sites (inherited). In addition, if the user is a member of ...
1
vote
0answers
221 views

SPSiteDataQuery for Documents using caml query

I am tring to query an entire site collection for all the documents where a certain field is equal to something. For example where LoanCategory = Insurance. I am trying to do this using an ...
1
vote
0answers
168 views

SPSiteDataQuery without subfolder items?

I'm trying to use the SPSiteDataQuery to return the contents of several lists across a site collection. The problem I'm having, though, is that while there are only a few documents at the root level ...