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
305 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
82 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
329 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
192 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 ...
0
votes
0answers
17 views

Security Trimming of SPSiteData Query

I have a web application with more than 50 site collections and multiple sub sites within each such site collection. However, certain users does have access to sub sites but have access to list within ...