SharePoint Config

Ari Bakker's thoughts on customising and configuring SharePoint

Archive for April, 2007

Minimal SharePoint Master Page

with 6 comments

Master pages provide a great platform for branding custom SharePoint sites. By default, however, the master pages included with WSS and MOSS sites include a lot of unnecessary mark-up. This worked fine for most of the site but I found when I used this for the system pages (think viewing document libraries, editing list items…) things started to break. Continue reading Minimal SharePoint Master Page »

Written by Ari Bakker

April 30th, 2007 at 9:28 am

Programatically Populating a Document Library

without comments

Every now and then I want to populate a SharePoint document library with files for testing purposes. To do this I have created a little console app that will take a template file and upload it x number of times to a document library, generating a unique name each time. At the moment this is a very basic application, but if you need to generate dummy data then it provides a starting place for doing so. Continue reading Programatically Populating a Document Library »

Written by Ari Bakker

April 25th, 2007 at 10:33 pm

Posted in Development

Tag Cloud Web Part for SharePoint

with 2 comments

The guys at WSSSearch.com have got a cool little collection of tagging web parts that allow you to create tag clouds for lists in your site. The basic idea is that you add a tag column to your list, then use the tag cloud web part to display a cloud containing using the tags entered against all the list items. Continue reading Tag Cloud Web Part for SharePoint »

Written by Ari Bakker

April 19th, 2007 at 10:41 am

Posted in Features,Resources

Creating a Custom SharePoint 2007 List Definition

with 53 comments

There are several steps involved in creating a custom list definition in SharePoint 2007. These are: reate custom site columns (Optional), create custom content types (Optional), create custom list definition. Continue reading Creating a Custom SharePoint 2007 List Definition »

Written by Ari Bakker

April 17th, 2007 at 9:56 pm

Data View Web Part Introduction

with 12 comments

This post shows how you can use the DataView web part (aka the DataFormWebPart) to display a list of items from another SharePoint 2007 site using SharePoint designer. Continue reading Data View Web Part Introduction »

Written by Ari Bakker

April 16th, 2007 at 10:37 pm

Invalid look-up value error when uploading content

with 4 comments

When migrating content from a prototype MOSS intranet to the new production environment I hoped to be able to move documents across using the windows explorer view of document libraries provided by SharePoint 2007. Unfortunately for most of the items this resulted in a helpful little warning stating “An error occurred copying some or all of the selected files.” Continue reading Invalid look-up value error when uploading content »

Written by Ari Bakker

April 11th, 2007 at 9:23 am

Classification framework for MOSS

without comments

Angus pointed out that the guys at Artemis have developed a classification framework extension (codename RAPID) for MOSS. This allows a site to have several hierarchical taxonomies for classifying content. While MOSS provides a framework for creating taxonomies it does not provide hierarchical columns by default. Continue reading Classification framework for MOSS »

Written by Ari Bakker

April 10th, 2007 at 10:06 pm

Posted in MOSS,Resources

Date Formats in SharePoint

with one comment

To ensure that dates are formatted correctly across your WSS or MOSS site there are a couple of settings you may need to change.

First of all the regional settings should reflect the current locale. This can be changed from Site Actions > Site Settings > Regional Settings and ensuring the locale is correct. This should ensure all controls that display dates are formatted correctly.

If you are using XSLT to display dates (such as in a data view web part) you may need to update these also. One way of doing this is to take advantage of the format-date extension function provided by MSXML. This is included in the XSL for the dataview by default, but you can use this and other MSXML extension functions by including a reference to the Microsoft XPath extension functions (urn:schemas-microsoft-com:xslt) at the top of your XSL stylesheet. Continue reading Date Formats in SharePoint »

Written by Ari Bakker

April 2nd, 2007 at 3:27 am