Solved

How do I create a contentquery queries specific sites

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Work Over Net is a new and very powerful collaboration product. With its new easy interface it is becoming very competitive to other similar products like webex and office interactive. WON 2010 have the standard business tools needed for multi-offic…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now