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
1answer
2k views

from where i Copy “webtemp.xml” and “onet.xml” files of standared sharepoint 2013 team site

I want to create site definition in VS 2012. But for webtemp.xml and Onet.xml files,I want to copy content from webtemp.xml and Onet.xml files of standared sharepoint 2013 "team site" for my site ...
1
vote
1answer
34 views

What should be the provisioning model?

What should be the provisioning model for supporting only 2010 and above, if: it needs to include custom SharePoint security groups it would be deployed to multiple unrelated SharePoint ...
1
vote
1answer
1k views

How can I activate a wsp solution uploaded to solution gallery via code in SharePoint 2013

I'm creating a site definition which provisions a subsite based to a webtemplate(wsp) file. This webtemplate file is packed in a feature containing a module.When the feature is activated the wsp file ...
0
votes
1answer
145 views

Site Definition or web template how to update sites

If you want to update (insert changes) all existing sites in a SharePoint 2013 web site, which one is the best option to start with? creating all sites based on Site Definitions or based on Web ...
1
vote
1answer
180 views

Customactions not binding to content type

Facing a strange and frustrating issue just before Christmas :-( Heres the scenario: I've got a custom content type, list schema , the whole works all exported from another site using the Sharepoint ...
1
vote
2answers
809 views

Activating a feature after an SPWeb has been created

I am trying to ensure that a custom feature that I have written is activated when an SPWeb is created, and it has to be activated after all lists/libraries have been created (specifically the document ...
0
votes
2answers
154 views

Problem with adding TagCloud web part to site definition/onet.xml with userscope

I'm trying to add a Tag cloud web part to my site definition's onet.xml file and set its userscope to everything under the current url. I understood from Microsoft I cannot simply export and import ...
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
349 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
99 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
111 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
161 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
4k 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
1k 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
2k 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: ...
8
votes
3answers
10k 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
126 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
523 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
4k 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
681 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
111 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
44 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
561 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
153 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 ...
6
votes
1answer
579 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
249 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
244 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
782 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
955 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
233 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
178 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
6k 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
668 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
1k 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
699 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
3k 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
3k 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
5k 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
390 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
604 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
714 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
678 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
537 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
329 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
1k 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
672 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 ...