• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 241
  • Last Modified:

How do I create a contentquery queries specific sites

How do I create a contentquery that queries all the subsites in which current user is member of?
0
tolppa
Asked:
tolppa
  • 2
  • 2
1 Solution
 
abhitrigCommented:
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
 
tolppaAuthor Commented:
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
 
abhitrigCommented:
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
 
tolppaAuthor Commented:
Thanks. I am new to xsl, but seems like I need to learn it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now