1,804 articles and 14,791 comments as of Thursday, April 28th, 2011

EndUserSharePoint has combined resources with NothingButSharePoint.com. You can now find End User (Mark Miller), Developer (Jeremy Thake) and IT Pro SharePoint (Joel Oleson) content all in one place!

This site is a historical archive and is no longer being updated. Please update your favorites, bookmarks and RSS feeds.

NothingButSharePoint.com
Tuesday, December 7, 2010

Connecting the Content Query Webpart to a Document Library filtered by a Meta Tag

Guest Author: Andy Hodges
SharePoint Rescue

I found a bit of an obvious feature of the Content Query Webpart that enables you to connect to a document library that is filtered with the same Meta Tag filter that you are using as the query for this webpart. The new document centre feature of SharePoint 2010 enables documents to be filtered and searched by Meta Tags that are associated with those documents.

In a traditional business you may have departmental sites and document libraries for each department. The files will often be used by more than one department so creating a tagging structure that represents the departments, services, sectors and technologies in your business may be a better approach. With such an approach each departmental site can show a filtered view of the documents in the document centre without replicating content that already exists. So here is how you do it:

In the advance settings of the Content Query Webpart you can give the title of the webpart a URL. To get the correct URL just navigate to the document centre and filter the view on the suitable tag. Copy the URL in the browser and copy it to the Webpart. That is it, nice and simple but hopefully worth knowing.

Guest Author: Andy Hodges
SharePoint Rescue

Andy Hodges is a Project Manager for Mando Group, a Digital Agency and Microsoft Gold Partner in Liverpool United Kingdom. He has been overseeing SharePoint Projects for the last 4 years working on a variety of projects from developing applications to designing front facing Internet sites.

 

Notify me of comments to this article:


Speak and you will be heard.

We check comments hourly.
If you want a pic to show with your comment, go get a gravatar!