SharePoint

ChartPart for SharePoint

You can find a Webpart for displaying data from SharePoint lists as Charts on CodePlex. The feature list: Generate a graph from a SharePoint list Intuitive and easy configuration Multiple graph types Multiple series Title of graph Legend Border Set size of graph Technorati Tags: SharePoint,Webpart,Charts,CodePlex

SharePoint Konferenz 2009

Die SharePoint Konferenz 2009 findet am 11. und 12. Februar in München statt. Auf der Konferenz werde ich einen Vortrag “Best Practices in der Webpart-Entwicklung” halten. Voraussichtlich werde ich die folgenden Themen behandeln: · Fallen umgehen und Probleme vermeiden · Logging in das SharePoint Log · Webparts mit eigenen ToolParts · Nutzung “ToHtml” Funktionen · Berechtigungsprüfung · Code Ausführung mit erweiterten Berechtigungen · SharePoint Webcontrols · SPContext – wo bin ich

Announcing SPDisposeCheck tool for SharePoint Developers

Quote: Microsoft wants to help developers build better quality code that manages available memory better. Source: http://blogs.msdn.com/sharepoint/archive/2008/11/12/announcing-spdisposecheck-tool-for-sharepoint-developers.aspx References: Best Practices: Using Disposable Windows SharePoint Services Objects Best Practices: Common Coding Issues When Using the SharePoint Object Model Roger Lamb’s SharePoint Developer Blog

Webpart to show Sitecollections/Subwebs

This Webpart will show Sitecollections from the current Webapplication or Subwebs from the current web. In the Webpart properties you can choose what the Webpart will show. It uses the Logo URL of websites, if they are specified. The description of the website will show up as tooltip. I am using the RepeatedControls class to build the items. This class really makes it easy to add entries by moving the layout functionality into an own class.

How-To create a JavaScript tooltip / popup

If you want to create a tooltip to show additional information, you can use the SharePoint functionality to do so. E.g. on a list of websites you could show the website’s description, if the user moves the mouse over the element. The JavaScript which will show the “Open Menu” text is “MMU_PopMenuIfShowing(this);”. It is referenced on all SharePoint sites through the call to Init.js in the header. So how do you use it?

SharePoint Reporting

CardioLog released a reporting add-on for SharePoint, which analyses the usage of your SharePoint sites. There are several versions available. One of the – CardioLog Lite for SharePoint 2007 – is available at no charge. Screenshots can be viewed here.Technorati Tags: SharePoint,Reporting,Usage,add-on

Get more our of your Windows SharePoint Services

CompleteSharePoint.Net will bring new features to your WSS V3 installation. Some new features are: Page editing toolbar (same as MOSS) The use of page layouts The use of master pages Custom site actions menu (same as MOSS) The project is also available on http://www.codeplex.com/completesharepoint. Tags: SharePoint Content Management System

Update packages for the 2007 Microsoft Office and Servers

Microsoft has released many updates for Office 2007. SharePoint relevant updates: 957691 ( http://support.microsoft.com/kb/957691/) Description of the Windows SharePoint Services 3.0 hotfix package (Sts.msp): October 28, 2008 957693 ( http://support.microsoft.com/kb/957693/) Description of the SharePoint Server 2007 hotfix package (Coreserver.msp): October 28, 2008 957694 ( http://support.microsoft.com/kb/957694/) Description of the Forms Server 2007 hotfix package (Ifswfe.msp): October 28, 2008 958567 ( http://support.microsoft.com/kb/958567/) Description of the SharePoint Server 2007 hotfix package (Coreservermui.msp): October 28, 2008 958569 ( http://support.

SharePoint Bug with MultiValue Fields

Imagine you have a list (or document library) which has lots of items. Nothing fancy here. Now add a lookup or user field and allow it to contain multiple values. Inside a view for this list you can filter e.g. for the title column. The filter dropdown shows all possible values for the column. Here comes the clue. If the item count of the list reaches a number somewhere between 400 and 500 items, the filter dropdown changes.

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)”.

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?