This project is read-only.

Tag Cloud (Tags for subfolders in list)

Nov 2, 2007 at 10:36 PM
The Tag Cloud web part works fine and picks up the correct Tags in the main folder and at least the next level down. However, whilst the tag browser works for documents in the top level document folder, it does not find documents in the sub folders even though the TAG Cloud has detected tags in this sub folder.

After looking closely at the code, I found that the SPQuery used for getting the “TAGS” does not take care for sub-folders.
Once I added the SPQuery.ViewAttributes with a “Recursive” value and recompiled the code, it started picking up the values in sub-folders also.

Can someone please confirm that we can go ahead and make this change (“query.ViewAttributes = "Scope=\"Recursive\"";”) to the existing Tag Cloud CKS version?
It seems to work fine after this change in the existing code.