Rob Caron

Developer-related topics and other stuff.

The Trouble with Thickets

The Trouble with Thickets

  • Comments 3

About a week ago, I received an e-mail asking the following:

I found this weird problem in VSTS/Sharepoint 2003. Create any
folder call "my_files" under any of your TFS project.

e.g TFSTest\Documents\Development\My_files.

Now go to your portal page and look for the same folder. It has been
renamed to "My_files_". Why the heck "_" has been added? Any clue?

It struck me as a bit odd and I wondered if it might be a bug. I sent an e-mail to Yogita on the Team Foundation team, who in turn sent it to Iyaz, who contacted Shawn on the SharePoint team seeking some insight.

The reply we got back is that this is by design in SharePoint due to thickets. Of course. My first reaction was, “WTF is a thicket?” It turns out that I’ve used them before, but wasn’t aware of the name.

A thicket is what you get when you save a file as an HTM that contains content such as graphics. To store this additional content, which can’t exist in the HTM file, the application creates a special linked folder. It names the folder, filename_files. When a thicket is used on a SharePoint site, the folder is always hidden.

If you create a folder that ends with _files or _file, SharePoint tacks on an extra underscore so that it isn’t treated it as part of a thicket and hidden from view.

Special thinks to Yogita, Iyaz, and Shawn for solving that mystery.

845

  • Thanks Rob to help solving this mystery.



  •  Rob has
    an interesting thing about them. I never knew they existed, and I lived and
    breathed...
  • Rob Caron blogs about the accepted Team System BoF sessions at TechEd.  He also tells us about the trouble...
Page 1 of 1 (3 items)
Leave a Comment
  • Please add 6 and 6 and type the answer here:
  • Post