a foundation for a new SharePoint site. The site definitions not only determine the appearance and behavior of the SharePoint site, but also its default content and functionality.

learn more… | top users | synonyms

1
vote
2answers
2k views

SharePoint 2013 Site Definition Template Missing

I am using Visual Studio 2012 Ultimate RC, and I did install the Sharepoint 2013 tools. But cant find the site definition templates. Any thoughts??
0
votes
2answers
232 views

Updating existing sharepoint sites?

We have a set of custom site definitions, around 12 in total, that makes up a large sharepoint 2010 intranet application (circa 40,000 sub-sites) that has been deployed for a few years now. One of ...
0
votes
0answers
92 views

Error while creating site definition in visual studio

I written a program to create site definition in visual studio. I am running below stsadm commandlines in post deployment process. I added below code in the "Post-Deployment command line" window. ...
0
votes
1answer
103 views

Can only create site (from custom defintion) when in central admin

As title says. I've created the bare basics of a custom site definition (no features etc.). It, at least appears, to deploy and activate fine judging by VS 2010 output. If in central admin, I can ...
0
votes
1answer
95 views

Customising my sites site definition via code

I want to create a site definition based on the my sites template (i.e. so that when I provision my sites, the site collections created include my customisations as in the vs2010 project. How can I ...
0
votes
1answer
151 views

Custom SiteDefinition having List Instances,Visual webparts and Event Receivers

Custom SiteDefinition having List Instances,Visual webparts and Event Receivers how to mention this Feature ID's in Onet.XML any sample code?
0
votes
2answers
3k views

Document Library in Site Definition with custom content type

I am attempting to specify a custom content type onto a reference library which is being provisioned in a site definition but am so far failing. I have read:- Deploy document library with multiple ...
2
votes
1answer
918 views

Sharepoint 2010 site definition one template to create multiple publishing pages

Im trying to create a publishing site definition where I use one file to provision many templates. eg in onet.xml ... <Modules> <Module Name="Landing" /> <Module Name="Test" ...
3
votes
1answer
1k views

Create a site using powershell for a custom site definition

I have created a custom site definition which I can see and create a site using my custom definition with the UI. However, if I try to create a site using powershell I get an error saying WARNING: ...
6
votes
3answers
8k views

Sharepoint 2010 XsltListViewWebPart on site definition template

Im having a problem placing the XsltListViewWebPart on my Default.aspx template (relevant code bellow) <WebPartPages:WebPartZone runat="server" ID="NewsItemsList"> <ZoneTemplate> ...
1
vote
1answer
99 views

How do I deploy a new site definition

I'm starting off with a SharePoint development, and created a Site Definition containing, well, nothing. My plan was to create a sharepoint site using that definition and go from there, however, I ...
0
votes
1answer
375 views

Custom visual studio Workflow deployment with Site Definition

In Production Environment : We have Custom Workflows in a Visual studio Project, each time we create a Site based on Site definition we have to reassign workflow association from visual studio. How ...
0
votes
3answers
3k views

Getting global Navigation working using onet.xml

Im trying to create a site definition using onet.xml in sharepoint 2010. So far things are going well however I am now having a problem getting the subsite to inherit the global navigation from its ...
0
votes
1answer
562 views

Feature Upgrading - Adding an existing content type to a list definition

My question is: how do I add an existing content type (say the OOTB "Contact" content type) to an list instance definition (for "Shared Documents") in my site definition solution? Background: I have ...
0
votes
2answers
89 views

Steps to deploy a Site Definition having a custom Master page

we have custom site definition with a custom master page, I copied it from Control Templates, made changes to "ONET.XML" and master page they are using. I also renamed site definition folder name and ...
0
votes
1answer
43 views

Is it possible to have a Site without Site Definition

I am working on a portal and have a site/web and I am trying to find out what site definition its using, I tried this code to find out, it does give me a site template ID and Master page URL, but it ...
2
votes
2answers
481 views

Adding a hidden page with site definition

I want to add a page to my site definition which is hidden ie. doesn't appear in the navigation, by default. The page is provisioned in the onet.xml file as follows; <File Url="SomePage.aspx" ...
0
votes
2answers
113 views

How to Find out Site definition being used by a Site

I always struggle to find out that how to know what site definition or site template a "Web" or a "Site" is using. We do have a lot of custom site definitions and site templates, we are using in our ...
5
votes
1answer
504 views

Site Definition vs Web Template for product site

I'm getting ready to create a product for SharePoint, and I'd like it to be as easy as possible for people to deploy and use. I was planning on using a Site Definition, since this seems like a great ...
1
vote
1answer
32 views

What things/attributes need to be changes while renaming a Site Defination?

I have a site definition folder with following structure, XML default.aspx MasterPage.master masterpageajax.master In XML folder I have "ONET.XML" and I looked into this file, and realized that ...
0
votes
1answer
27 views

Method to find where site definitions were used

Is there a way to find out what site definitions were used to create sites? We are trying to remove some site definitions from our code base, but we want to make sure no sites are using them. Thanks. ...
1
vote
2answers
238 views

resources in site definition

I have a problem with resources in my site definition. I have 2 languages dutch (1043) and english (1033). In my site definition i'm using a feature which has a site column. This site column has ...
0
votes
0answers
221 views

got Error when create Custom Site Definition in Sharepoint 2007 using VS 2008?

When I create a Custom site Defination got the below error: Failed to instantiate file "default.master" from module "DefaultMasterPage": Source path "default.master" not found. Here is my onet.xml ...
2
votes
4answers
704 views

Problem applying content type bindings to an es-ES site definition

I'm building a publishing site which will support the following cultures: de-DE (1031) en-US (1033) es-ES (3082) fr-FR (1036) it-IT (1040) ja-JP (1041) ru-RU (1049) zh-CHS (2052) I can create an ...
1
vote
1answer
890 views

Site definition inherit/display parent global navigation

When creating a Site Definition in Visual Studio, how do I make sure that the new site created from this definition will display the same global navigation as the parent web in SharePoint 2010?
5
votes
1answer
191 views

Disabling standard quick launch behaviour

I have created a Site Definition using Visual Studio and also created a List Definition from which I use the List Instance in a web-scoped feature which activates upon creation of a subweb using the ...
1
vote
1answer
176 views

In what order does a Site Definition provision a site?

I have created a site definition in which I have a series of web scoped features getting activated. Some of the features are meant to set targetting audiences on webparts, some of them are creating ...
2
votes
2answers
4k views

MissingSiteDefinition >> How do I go by fixing this issue?

[MissingSiteDefinition] 1 Sites in database [Colgate_WSS05] has reference(s) to a missing site definition, Id = [16781], Lcid = [1033]. The site definitions with Id 16781 is referenced in the ...
3
votes
1answer
565 views

How do I create a custom default page for my SharePoint sites?

I've created a MOSS 2007 SharePoint site definition for my users, and now want to use a custom default.aspx page as a landing page every time a new site using that definition is created. That default ...
2
votes
2answers
944 views

Site with custom master page reverts to v4.master on upgrade

I have a web application in 2007 that contains a bunch of sites that all used a custom site definition and a custom master page (deployed using a feature). All is well. I've upgraded the code for ...
0
votes
1answer
612 views

Listview webpart in custom site definition

When defining a listview webpart in a custom site definition, how can I make sure that the view has the columns that I want it to show? The standard view shows these column: Title, Assigned To and ...
13
votes
2answers
2k views

Convert site template to site definition

How do I go about making a site template to a site definition? For example, if I have a modified team site which I saved as WSP (save as site template), can I import that into VS2010 and convert to a ...
1
vote
2answers
2k views

Site Definition with list instances, pages, web-parts, feature-stapling or feature activation

I need to create a site definition (as I tried to re-use a wsp site template to extend it but failed). Is it possible to create a site definition with 16 list instances (with a variety of types, 100, ...
2
votes
3answers
4k views

“Cannot find this file” error when deploying from Visual Studio 2010

I'm getting an error in Visual Studio 2010 after pressing F5 to Debug: Error occurred in deployment step 'Add Solution': Error: Cannot find this file specified in the manifest file: ...
0
votes
2answers
2k views

WSP for Site Definition does not show up when creating a new site

WSP for Site Definition does not show up when creating a new site. I uploaded a new wsp under the solution gallery of the site collection. I went to a sub site and click on Create from "all content" ...
4
votes
2answers
369 views

How to “seed” default content into newly provisioned site definitions in SharePoint 2010?

We have a publishing site definition that we have created in Visual Studio 2010. It is working great and provisions the sites just fine. We have a need to have starter content inside the sites. All ...
0
votes
1answer
567 views

List definition simply won't work

I have created this list-definition which I then refer to in a site-definition. When I then create a new site with the site-definition, the list gets created too on the site, but all the custom fields ...
0
votes
1answer
649 views

PowerShell New-SPWeb doesn't fire Event Receiver

I have a custom Site Definition that includes a feature that has an Event Receiver. When creating the custom site via the UI, the Event Receiver fires just fine. But when I create the same site via: ...
0
votes
3answers
539 views

Warning icon remains after page layout is reset to site definition in SP Designer 2010

When I reset a page layout to its site definition by right-clicking the page layout name in SP Designer 2010, choosing Reset to Site Definition, Clicking Yes on the warning that pops up, the warning ...
0
votes
1answer
484 views

Existing sites and changing of site definitions

If I change a site definition for a SharePoint 2010 installation, for example by adding a web part, will this affect existing sites? Or would I have to loop through the sites and update the existing ...
0
votes
1answer
323 views

Customizing site definition files with a Module element

I am customizing a SharePoint 2010 MySite area and part of which deals with customizing the Person.aspx and OrganizationView.aspx pages, which are a part of the MySite site definition. I am deploying ...
2
votes
6answers
978 views

Feature stapling vs Site Definitions

I curious of what you’re experiences are one the user of site definition compared to feature stapling. In a video on Channel 9 Ted Patterson explains that feature stapling is the way to go. It would ...
1
vote
2answers
656 views

Add an XsltListViewWebPart to a site defintion homepage

What's the best method for adding an XsltListViewWebPart to a site definition's default.aspx? I've tried to add one to the definition's default.aspx declaratively by copying the XML from an existing ...
1
vote
4answers
2k views

How to change URL for SharePoint:SiteLogoImage

I have the job of migrating a sharepoint site from one server to another. Everything appears to have moved across correctly, but there is one image which has a url to the old site. I've tried ...
0
votes
1answer
255 views

How to make a simlpe minimal webtemplate vs sln

I would like to create a simple web template that is based on a blank site definition, with only the wiki home page feature enabled. I would like to do this by "save as template" in SD, and importing ...
3
votes
2answers
2k views

Limit templates available when creating sub site?

I have created a site definition but i need to limit what sub sites can be created by the user. How can I do this with SharePoint 2010? thanks
1
vote
1answer
630 views

How to use resource files in webtemp xml

Probably another easy question, but I've been working on it this morning and haven't been able to get it to work. I have a site definition that I am attempting to move the string literals to a ...
0
votes
1answer
163 views

Can WebProvisioningProvider assembly version be automated in webtemp xml file?

I have a basic site site definition I am attempting to provision with a custom SPWebProvisioningProvider. I have the following attributes set in the webtemp xml file ProvisionAssembly="{assembly ...
2
votes
3answers
1k views

Update Web Part in Custom Site Definition and created sites

I have a site definition with a custom web part, the projects (both the site definition and the web part) are part of a CI build which means the version numbers are incremented each build. The ...
2
votes
2answers
2k views

Custom web templates vs custom site definitions

I read the MSDN article "Deciding between custom web templates and custom site definitions". The article only scratches the surface, so I was wondering if anyone have had some hands on experience with ...