Skip to main content

Mike Geyer's Blog

A fun place to read and collaborate about SharePoint and related technologies.
Go Search
  
Mike Geyer's Blog > Comments > Accessing multiple sites - response to Kris  

Comments: Accessing multiple sites - response to Kris

Keep in touch: RSS Feed  


I'm a


My company is a


And we deliver

  (we're certified)

Your Name

Mike Geyer 

URL

http://blogs.edork.com/mikegeyer 

Title

Accessing multiple sites - response to Kris 

Body

Hello Kris,

If you set up the CQWP (using the tool pane) before embarking on step #2, you can set the query to pull items from all lists within a Site Collection or below a specific site.  If you've already customized the CQWP and don't want to "break things" by using the tool pane, take a look at the WebURL property in the CQWP text file.

This value, for example, will query all lists within a Site Collection:
<property name="WebUrl" type="string">/</property>

This value will query all sites at and below SomeSite:
<property name="WebUrl" type="string">/SomeSite</property>

I hope this helps.

-- Mike
Approval Status Approved 
 
Attachments
Created at 8/9/2009 4:00 PM  by  
Last modified at 8/9/2009 4:00 PM  by  
Copyright© 1997-2009 Mike Geyer
The posts on this weblog are provided “AS IS” with no warranties, and confer no rights. The opinions expressed herein are personal.