Thursday, May 15, 2008

Mei Ying's Tech Blog: File or arguments not valid for site template

Great tip in this blog to find out the list of site templates available. I was writing code to get this list, but this is much simpler;

View the source behind this page; http://website/_layouts/templatepick.aspx

Mei Ying's Tech Blog: File or arguments not valid for site template

Wednesday, May 14, 2008

Paul Andrew : Announcing: Visual Studio extensions for SharePoint – Developer User Guide

The Visual Studio 2008 extensions apparently will be here in June. In the mean time, Microsoft have released new documentation for VseWSS 1.1

"The user guide is downloadable here and represents approx 200 pages of documentation applicable to both the 2005 and the 2008 release of the Visual Studio extensions for SharePoint."
(excerpt from Paul's post)

Paul Andrew : Announcing: Visual Studio extensions for SharePoint – Developer User Guide

Tuesday, May 13, 2008

Saturday, May 10, 2008

Video: Publishing Features and Site Templates - Michael Gannotti on SharePoint +

I have been trying to work out how to create a SharePoint 2007 site template from a modified 'Collaboration Portal' which has the Publishing feature enabled. I noticed that the 'Save Site as Template' menu item is removed from the Look and Feel menu.

So I created a Site Template from SharePoint Designer, and this seemed to work. I used STSADM to add the template and then tried creating a new Site Collection from it.

Then I got this error when I tried to access the site I just created;

"This page is not using a valid page layout.  To correct the problem, edit page settings and select a valid page layout."

So after much searching, I discovered that you cannot create a site template from a site with the Publishing feature enabled. :(

I was about to embark on creating a site definition and then I came across this post from Michael Gannotti....

Check it out.

I'm going to try this and then decide if I need a Site Definition.

Video: Publishing Features and Site Templates - Michael Gannotti on SharePoint +

Thursday, May 8, 2008

Roger Lamb's SharePoint Developer Blog : SharePoint 2007 and WSS 3.0 Dispose Patterns by Example

I have been doing a bit of development this week prototyping some software, so while dusting off the far corners of my coding memory, I came across a good blog post showing the right and wrong ways to use the SPSite and SPWeb objects with respect to Disposing.....

Roger Lamb's SharePoint Developer Blog : SharePoint 2007 and WSS 3.0 Dispose Patterns by Example