Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Question about content query web part

  Asked By: Abner    Date: Mar 11    Category: Sharepoint    Views: 2080

I have been asked by one of our department heads to be able to have data
reside in document libraries in different site collections and then be
able to bring them together using links. I know a content query web part
does this on ONE site collection. Is there an equivalent to this to go
across many site collections?



5 Answers Found

Answer #1    Answered By: Lorenzo Steele     Answered On: Mar 11

The easiest way to do this is to use the search engine, because it
is not limited to a site  collection (or even web  application or

Tag the data in some consistent way (e.g. with a standard content
type or with special keywords) so that you can construct a search
which will find the relevant items.

Then, place a Search Core Results web part  on a page and use its
taskpane to configure it with that search so that it always displays
the relevant items. When new data is added, as long as it is
correctly tagged, it will then show up automatically in the web
part, after the next search crawl.

Answer #2    Answered By: Divakar Naik     Answered On: Mar 11

On that note, instead of having to tag the data in a certain way, is
there a way to create a search scope that only returns sites? I
tried creating a scope, and using ContentClass = Site, but that
didn't return any results.

It would be great to use this idea to display a list of all sites in
the farm, if only there were an easy way to filter to show ONLY sites.

Answer #3    Answered By: Marcus Davis     Answered On: Mar 11

This page has a list of all of the ContentClass values:


Answer #4    Answered By: Perla Vang     Answered On: Mar 11

Laura, it looks like setting up a scope with a property filter of
ContentClass set to sts_web should to restrict the results to sites.
From that blog post, it looks like the home page of a site  is
treated as the sts_web content  class (other pages are the
STS_ListItem_850 content class, exactly as you would expect.

Answer #5    Answered By: Sandra Alexander     Answered On: Mar 11

It seems that you want to collect and view items in a list view. Have
a try "sharepoint list collection". Maybe it can help.

Didn't find what you were looking for? Find more on Question about content query web part Or get search suggestion and latest updates.