Today I added a XSLTListViewWebPart to my Site Definition and I receivede the following error: WebPartPageUserException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). My ListId in the XML looked like this: <property name="ListId" type="System.Guid, mscorlib, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> Adding null="true" resolved this issue: <property name="ListId" type="System.Guid, mscorlib, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c561934e089" null="true" />
In the past 5 years I've worked on quite a few projects and I've seen quite few SharePoint Developers/Consultants/Architect delivering solutions. I started in London What is the best way of deploying SharePoint Solutions? In general if the my customer wants a new website or intranet I deploy my new projects as a Partial Site … Continue reading How do you organise your SharePoint Projects?
There are many articles about site definitions. The trend seems to go towards using less site definitions or at least smaller site definitions and adding features to do all the work. Having said that, I still like to use site definitions for an initial deployment (read deployments before the cusotmer has gone into production) as … Continue reading SharePoint 2007 – Site Definition fails to deploy
Some basic information about activating features in the onet.xml can be found on the MSDN site. So the general format is something like this <Feature Id = "Text" SourceVersion = "Text"> </Feature> Also SourceVersion hasn't been documented very well. Source Version is the version of the feature that you would like to activate. In general … Continue reading Name in activating SharePoint features in onet.xml