SharePoint

WSSWiki

There is a Wiki out there with code samples and articles about SharePoint. Check it out at http://www.wsswiki.com/Technorati Tags: SharePoint,WSSWiki

Configuration Wizard fails

After you install a hotfix or update for SharePoint, you have to run the SharePoint Configuration Wizard. Sometimes it is aborting with an error. You will get a link to a log file. This is something like “PSCDiagnostics_10_17_2008_16_53_57_799_923424762.log”. In my case I got a timeout error: ———————————————————- 10/17/2008 16:55:59 1 ERR Fehler beim Initialisieren des Updates der SharePoint-Produkte und -Technologien. Eine Ausnahme vom Typ ‘System.ServiceProcess.TimeoutException’ wurde ausgelöst. Weitere Ausnahmeinformationen: Der Vorgang wurde nicht abgeschlossen, da der Timeout abgelaufen ist.

Programmatically creating a SPFieldCalculated

As you might already know, you can create new fields with SPFieldCollection.AddFieldAsXml(string schema). The schema contains the formula for the calculated field. There are some points to take care of, before you can add the field: make sure your referenced fieldnames are the display names and not the internal field names the formula has to be in the English format Changing the fieldnames is an easy task. If you read the schema from a field and want to create a new one with the same formula, you will get something like “=if(fieldA,1,2)”.

Announcing August Cumulative Update for Office SharePoint Server 2007 and Windows SharePoint Services 3.0

From now on there will be cumulative updates (formerly know as hotfix) every two months. The first cumulative update is the August 26 updates for WSS and MOSS. These updates are only recommended, if you are experiencing the described problems. They will be included in the SP2. Source: Microsoft SharePoint Team BlogTechnorati Tags: SharePoint,hotfix,cumulative update

Wiki Webpart 2.0

The next generation Wiki Webpart is there! Sounds good J The (stupid) name remains, but the core has changed. What is it? With the Wiki Webpart you can upload images and documents from a Wiki edit page into existing picture/document libraries. After the file has been uploaded, a link will be inserted into the Wiki Content. This is either a or a tag, depending on the uploaded file. How does it work?

TagCloud Webpart

Categorizing posts with keywords is not new. There are solutions which create a new column for your blog, where you can define categories. My Webpart will look in your posts for Technorati links. Many posts are tagged with Technorati links, so that you can look for a tag, and find posts on many blogs for this tag. You can create Technorati links with the Live Writer, if you want to blog with it.

Picture Library and Exif data

As Jeremy Sublett wrote in his post Getting Date Information From Photos in SharePoint it would be great if SharePoint would respect the Exif data from a picture uploaded to a picture library. So I took his solution as starting point to wrap this functionality into a feature, which can be configured for each picture library. So what does it do? The “Date Picture Taken” value will be used from the Exif data of a picture after it has been uploaded.

Installation, Deployment, Activation of Features

I get plenty of questions on how to add, deploy or activate a SharePoint Solution. Solution A SharePoint solution is a *.wsp file (which is a cab file) which contains at least one feature. Feature A feature adds new functionality to your SharePoint farm. It can be wrapped inside a solution file, or be deployed by adding files to your SharePoint servers. Installing a Solution To install a solution to your SharePoint farm, copy the wsp file to one of your SharePoint servers, and run “stsadm -o addsolution -filename yoursolution.

Implement an update check

You have developed a Webpart or some other program, and want the user to be able to check for updates? In my case I want the user to check for updates for my Webparts. If you click the “Check for updates” Button in the Webpart properties, the latest version from will be shown. Set up an “Updates” list To find the latest version, I have set up a SharePoint list with two fields.

Use SharePoint RSS feeds with absolute links

It is a annoying that RSS feeds do not display images correctly, if your feedreader is offline. The problem is, that the links generated by the SharePoint RSS feed api returns relative links instead of absolute links. But there is a solution: –> Images Broken When Viewing Windows SharePoint Services RSS Feeds in Outlook Here is a small update if you want to make a regular link absolute as well: