Last Day with Microsoft

From: Jeremy Jameson Sent: Friday, September 02, 2011 3:01 PM To: [snip, snip] Subject: Last day with Microsoft Today is my last day with Microsoft and it is with a heavy heart that I now say farewell to past and present teammates, coworkers, and managers. The last 11 years have been an incredible chapter in…


New Blog Location –

As I mentioned in my previous post, today is my last day with Microsoft. I still have a lot of work to do in setting up my new website, but at this point, I’ve completed enough to continue blogging the “Random Musings of Jeremy Jameson”: If you subscribed to my MSDN blog in the…


Leaving Microsoft

Last Thursday, I informed my manager that I have decided to leave Microsoft to pursue other opportunities. My last day will be September 2nd — just a few days shy of my 11 year anniversary date with the company (my first day was September 5, 2000). You might be wondering why I would choose to…


Using the SharePoint API to Configure an Expiration Policy on a Document Library

While it typically takes less than a minute or two to configure an expiration policy on a SharePoint document library, there may still be reasons why you want to do this using the SharePoint object model instead. For example, suppose I have a “Temporary Files” document library for which I want the files to be…


Missing thumbnail images in SharePoint?…You probably forgot to specify the "ContentType" property

During the process of creating my previous post, I discovered the thumbnail images were not rendering as expected for the custom images that I added to the out-of-the-box SharePoint /PublishingImages picture library (via a feature). Here is the content of my original Elements.xml file (used to add the images to the library): <?xml version=”1.0″ encoding=”utf-8″…


Web Standards Design with SharePoint, Part 6

In part 5 of this series, I showed how you can render semantic HTML for SharePoint list items (instead of the out-of-the-box table layout) using the new XsltListViewWebPart in SharePoint 2010. Note You can achieve similar results in Microsoft Office SharePoint Server (MOSS) 2007 using the DataViewWebPart. For those of you that haven’t yet read…


Script to Reset WSUS for SysPrep’ed Image

Here’s a useful script for those, like me, that use SysPrep’ed images to create new virtual machines and also leverage Windows Server Update Services (WSUS) to keep machines up-to-date with the latest patches. Reset WSUS for SysPrep Image.cmd net stop wuauserv reg.exe delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v PingID /f reg.exe delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v AccountDomainSid /f reg.exe delete…


Reusable Content in SharePoint Publishing HTML Fields, Part 3

In part 2 of this series, I explained how to programmatically add a new Reusable Content list item and subsequently add it to a Publishing HTML field on a page. I also provided a complete sample for SharePoint 2010 that demonstrates how this can be accomplished with minimal effort (thanks to some nitfy helper classes)….


Reusable Content in SharePoint Publishing HTML Fields, Part 2

In my previous post, I introduced a scenario for using the “Reusable Content” feature in Microsoft Office SharePoint Server (MOSS) 2007 and SharePoint Server 2010. In this post, I show you how to programmatically add Reusable Content list items (which is very helpful when deploying to multiple environments, such as DEV, TEST, and PROD) as…