2009

Today I learned that not everyone seems to be aware about the fact that subfolders in a Pages library of a site based on the Publishing feature are not supported with MOSS 2007. The correct solution to implement a hierarchy in a publishing site is to use sub sites and not folders in the Pages […]

Often it is necessary to ensure that updates to files on the server get populated to the client asap. Especially when it comes to dependencies to custom javascript of CSS files and server controls. SharePoint itself does this by adding a query string to some of its vital Javascript files. E.g.: /_layouts/1033/core.js?rev=PQia%2B0EyudqxiQyTfOSR%2Fw%3D%3D Whenever the core.js […]

As discussed by the Office Sustained Engineering group cumulative updates for all Office Products including WSS 3.0 and SharePoint 2007 will be released every second month. Yesterday we released the so called February Cumulative Update. Currently the separate packages for the core products and for the language packs are available. Details and download locations can […]

Recently I came across another very interesting coding pattern which is very similar to the interesting SPSite leak I showed a couple of days ago. public void workOnArea(Area area){      if (area.Web != null)      {            string url = area.Web.Url;            area.Web.Dispose();      }} On a first look the code look ok, right? Ok, no try/catch blog […]

[via Paul Andrew’s blog]  SPDisposeCheck is a tool to help SharePoint Developers follow memory management best practices when using the SharePoint API with IDisposable objects including SPSite and SPWeb. This tool is not supported by Microsoft and is recommended to be used on Developer workstations and not on production SharePoint Server installations. It was released […]

Today I came across a very interesting coding pattern: public void enumSiteCollection(SPSiteCollection spSites, int min, int max) {     for (int i = min; i<max; i++)     {         if (spSites[i] != null)         {            DoSomething(spSites[i]);             spSites[i].Dispose();         }     } } On a first look the code look ok, right? Ok, no try/catch blog […]

In the past I have released several blogs about the various problems that can occur with Content Deployment. As it is often hard to find the right resource I have now decided to compile the different known issues into one large article: Content Deployment – Best Practices

In the past I have released several blogs about the various problems that can occur with Content Deployment. As it is often hard to find the right resource I have now decided to compile the different known issues into one large article:    Avoiding common problems Problem 1: Mixing deployments with and without retaining object […]