Recursive search for SharePoint Tag Cloud 1.2

A while back I found a nifty webpart for our SharePoint WSS site called Tag Cloud which lets you tag documents in your SharePoint site and then display a list of all tags with those that occur more often being rendered in larger text. We decided to use for our application support/help desk sites because it makes finding documents easier. Yes, SharePoint has a search feature and of course we could structure our documentation to make it easier to find stuff but this just seems to be a nice option to have. After installing it though I came across a bug/feature limitation. The "tag cloud" webpart would show tags from documents that may be buried several levels deep in a document library but when you clicked on a tag you would get no results. The solution is modify the source code to include the following:

 SPQuery query = new SPQuery();

query.ViewAttributes = "Scope=\"Recursive\"";

Add the second line above after the first line in the SPUrlBrowser.cs and SPTagBrowser.cs files. Recompile the solution and deploy the update SharePoint solution file. Once that is done the "cloud browser" web part will correctly find all items, no matter what level they may reside in. Note that you'll need to make the code modifications from a machine where SharePoint is installed since the solution references the SharePoint dlls.

11-21-2008 Update: I've uploaded my wsp file.

Published Monday, October 27, 2008 11:16 AM by bunbun
Filed under:

Comments

# re: Recursive search for SharePoint Tag Cloud 1.2

Friday, November 21, 2008 7:01 AM by Donna Coles

I really want to use this, but don't have the skills resources to take the source code and compile it.  I've installed the precompiled v1.1 but it suffers from the bug above.  Is there any way you can publish a compiled .wsp version of 1.2 including your fix.  It would be so beneficial to me, and no one codeplex seems to have done it :-(  

Leave a Comment

(required) 
(required) 
(optional)
(required)