Solved

How do I create a contentquery queries specific sites

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 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

26 Experts available now in Live!

Get 1:1 Help Now