Archive for April, 2007
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 »
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 »
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 »
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 »
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 »
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 »
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 »
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 »