Solved

How do I create a contentquery queries specific sites

Posted on 2011-09-28
4
220 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

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…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

728 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