site-definition

Are SharePoint site templates really less performant than site definitions?

So, it seems in the SharePoint blogosphere that everybody just copies and pastes the same bullet points from other blogs. One bullet point I've seen is that SharePoint site templates are less performant than site definitions because site definitions are stored on the file system. Is that true? It seems odd that site templates would be...

MOSS (SharePoint) publishing page schedule options not appearing

I'm building a custom publishing site definition for MOSS 2007 but I seem to have a problem. The content types that I import don't have any of the page scheduling options available. I've gone over my onet.xml next to the one which the Publishing Site uses (in the BLANKINTERNET folder) and I am putting in all the features which are in th...

Can I create a custom web-level site definition for use in a Publishing Portal site collection?

I originally created a site collection based on the "Publishing Portal" site definition. Now some time later I'd like to create my own site definition at the web scope level for certain subwebs. The problem is that my custom site definition is not showing up in the list of options, only "Publishing Site with Workflow" appears. I'm prett...

MOSS Site Definitions and .WSP development to production

I'm using the minimal publishing site definition from codeplex to give me a basis for a publishing site. I've created this site in a virtual dev environment. I've then deployed a .wsp that provides a theme for the site. My question is relating to how would I then best combine the site definition and .wsp for a move to production - what...

How do I define a search scope "Display Group" for a Site definition

Within each site collection, it is possible to group search scopes for display in the site collections search box. It is possible to modify this programmatically as well. Is it possible to define search scope "Display Groups" within a site definition? I will be creating 8000 odd site collections from this template and it would be nic...

Web Part connections in site definitions

I have requirement of specifying web part connections in onet.xml. So when site is created using this site definition the said web parts are already connected and ready to use. Which properties I need to specify for that particular web parts in onet.xml. ...

WSS 3.0 Site Definition breaks when including MasterUrl in onet.xml

I have created a simple site definition for WSS 3.0 which uses a feature, this feature provisions a master page into the masterpage gallery. This works absolutely fine, and once I've created a site from the definition I can go into the masterpage gallery and view my provisioned file. If, however, I set the MasterUrl in my Configuration...

How to create SharePoint Site definition with custom lists using WSPBuilder?

Hello, I'm using WSPBuilder and I want to create a site definition this site definition contains some custom list definition (some list creates based on "Custom List" template). The site contains also some files the will copied to _layouts folder (which I know how to include it the .wsp file). My request here is how i can create the site...

Populate Sharepoint List With data in it (List Definition) in site definition

Hi everybody, I have a list and I want to populate this List with data in it. I want to do it via WSPBuilder as a feature. I tried to populate it within in the Elements.xml file, But I got the data not nested inside each other, as my list contains items inside a folders Folder1 | |__Item1 |__Item2 Folder2 | |__Item1 so I want...

How to add files to a document library in a site definition in SharePoint 2007?

Hi all, I'm doing a site definition for SharePoint 2007. When the site is created, a document library called "Folder2" is created also. Now, I need to add some documents to this document library and appear as items in the document library standard views. My code is: <Lists> <List FeatureId="00bfea71-e717-4e80-aa17-d0c71b360101" Ty...

Adding ContentTypes to a list with SiteDefinition

Using SharePoint 2010 and Visual Studio I have created a site definition (inheriting from the publishing site) which correctly creates all the required lists and now includes page instances in the "Pages" document library. The Pages use the correct custom pagelayout and the correct content type, however, because the "pages" library on...