Thursday, August 04, 2005

SharePoint Site Directory listing

Did you know that the SharePoint Site Directory is actually based on a list definition as well - just take a look at C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\1033\SPSSITES\LISTS\SITESLST. Well I tried hiding some of the standard fields displayed on it - Region and Division - so I modified SCHEMA.XML and changed the Hidden attribute to TRUE. And it worked the fields were not visible anymore when creating a site.

But then I took a look at the site directory page - on the middle of this page there is a "Browse sites by"-webpart (SPSWC:BrowseSites) and this webpart still displayed the fields which were hidden - I guess this is definitely YASQ (Yet Another SharePoint Quirk... )

Update: I decided to delete the fields from the SCHEMA.XML - but quickly noticed that this is not a good idea, ... if you delete these fields in the site definition - the "Manage Sites" webpage will not work anymore. Ain't SharePoint fun .... ;-)


[Listening to: Twist - Korn - Life Is Peachy (00:49)]

No comments: