Solved

How do I create a contentquery queries specific sites

Posted on 2011-09-28
4
213 Views
Last Modified: 2012-05-12
How do I create a contentquery that queries all the subsites in which current user is member of?
0
Comment
Question by:tolppa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 14

Expert Comment

by:abhitrig
ID: 36816179
Just set the content query in a regular way (http://office.microsoft.com/en-us/sharepoint-designer-help/display-data-from-multiple-lists-with-the-content-query-web-part-HA010174134.aspx). It will only filter the contents for which the user has access to.
0
 
LVL 1

Author Comment

by:tolppa
ID: 36816234
I need to display all sites (page templates) that current user can access. Content query includes pages, but does not seems to allow sites as queriable objects.
0
 
LVL 14

Accepted Solution

by:
abhitrig earned 250 total points
ID: 36816425
Ok, so you want a list of subsites and all the pages, right? Try the Table of Contents webpart and set the level appropriately (2  i think)
http://office.microsoft.com/en-us/sharepoint-designer-help/add-a-table-of-contents-to-a-publishing-page-layout-HA010174144.aspx
0
 
LVL 1

Author Closing Comment

by:tolppa
ID: 36816440
Thanks. I am new to xsl, but seems like I need to learn it.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question