Determine the edition of SharePoint Server 2007

To determine which edition of SharePoint Server 2007 is installed for the purposes of inventory, the following registry key can be interrogated.  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\OfficeServerPremium If the value is 0 then the edition is Standard.  If the value is 1 the edition is Enterprise. The screenshot below helps to illustrate this.  


Determine which SharePoint 2010 Products and SKUs are installed

To determine which SharePoint 2010 Products are installed for the purpose of inventory or conditional code logic, you can interrogate the registry. The screenshot below illustrates the keys that need to be evaluated. The following table shows a GUID to SKU mapping that can be used to determine which products and SKUs are installed. BEED1F75-C398-4447-AEF1-E66E1F0DF91E…


How to disable caching when doing JavaScript development

I spent a lot of time trying to figure out how to debug my JavaScript while doing SharePoint development using the ECMAScript Client-side object model (CSOM). First I tried forcing it to the Internet Explorer 9 InPrivate mode. This worked, but I couldn’t get it to launch from IE this way. I also tried the…