Using a C# preprocessor directive for testing custom timer-jobs

Posted by Eric Bartels

If your are writing custom timer-jobs for your SharePoint solution it will happen that you write jobs which are only executed once a day or even less often. As a developer you cannot wait that long… You could of course comment in and out (via ctrl + k, ctrl + c / ctrl + k, [...]

Meeting workspaces in SharePoint 2010 / Office 2010. A disappointment.

Posted by Eric Bartels

SharePoint 2010 RTM (and its Foundation) are available for awhile now. After installing SharePoint Foundation I immediately took a look into the meeting workspaces. No improvements since the Beta! Not all lists support the new AJAX-Dialogs. The page-management (for multi-paged workspaces) is still the same as in 2007. Even some old (SP 2007) graphics appear. [...]

Updating existing lookup fields in SharePoint

Posted by Eric Bartels

Creating lookup-fields only via XML-Definition is not possible. You need the ID of the Web hosting the list and the ID of the list hosting the data the lookup field is connected to. This information can only be retrieved when both entities are created… Object model?! When looking into the SPFieldLookup-class you find the properties [...]

With great power comes – PublishingWeb.DefaultPage

Posted by Eric Bartels

or at least the power of “Use Remote Interfaces – Use SOAP, Web DAV, or SharePoint Designer interfaces to access the Web site”. In a SharePoint project I’m working on it was necessary to get the default page of a publishing web in case where it differs from default.aspx.   In the environment the project [...]

Server Type “complete” is missing when installing Office SharePoint Server 2007 on Windows 7 or Windows Vista

Posted by Eric Bartels

I really like Windows 7! As I am a SharePoint developer I was happy that (thanks to Bamboo) one can install SharePoint on Vista and Windows 7. After I figured out why my first installation try went wrong I hit another strange issue. When installing MOSS you have to choose which role your server is [...]