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
0answers
179 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
320 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
31 views

Empty records returned when used SPSiteDataQuery in my sitecollection- SP 2013

I am trying to get the tasks list of all my SPWebs in my site collection using spsitequery , but I am getting dt.rows.count =0.That means No Records found though I have added 2 records - ie, ...
0
votes
0answers
64 views

Performance issue in a page retrieving many document sets using SPSiteDataQuery

I am using SPSiteDataQuery in a Visual Web Part to get all document Sets inside all document libraries within a site collection. The client doesn't want to use Search. They have not configured Search ...