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

0
votes
1answer
679 views

Create user security groups in Site Definition using visual studio

I am creating a site definition by code and I have a requirement to create the security groups in the site definition. How can I create the user security groups in the site definition using the ...
0
votes
0answers
19 views

What are the best practices to choose the provisioning method?

What are the best practices/ ideal scenario to choose the provisioning method? Site Template Web Templates Site Definition
0
votes
1answer
3k views

How to create a custom site definition inherited from existing one?

I need to create new custom site definition which inherited from Publishing Portal with all features and functionality. What is the best way to do this in Sharepoint 2013?
1
vote
2answers
344 views

Site Definition not available from Powershell

Using SP 2013. I have created a site definition in Visual Studio 2012. Deployed that as a solution. From the UI I can create a site and select the template I created. However when I go into ...
2
votes
1answer
546 views

Delegate Control SiteMapDataSource throws error

We have a solution with WSP package. This contains set on Delegate Controls. I want to use one of the Delegate Control with multiple parameters. Hence, I have copied that code related to that and ...
1
vote
0answers
245 views

Lists not being added to quicklaunch

I'm having a problem with some lists that are included in a feature (Scope: web), which is created via a site definition. These lists have the display on quicklaunch set to true, although, the only ...
0
votes
2answers
574 views

create list definition under sub site in site definition

I want to Create List Definition & List Instance under particular Sub-site.It can not been seen under site Collection.
0
votes
1answer
53 views

How to provision .aspx pages to site definition

Is it possible to add custom .aspx pages to site definition. If yes, How we can do this ? Please provide some example if possible?
2
votes
0answers
779 views

Error creating site from site definition - no document templates

I'm hoping you can help me out with a problem I'm experiencing. I have developed a custom site definition. The site contains 2 document libraries (Correspondence and Documents) and a list (Records). ...
0
votes
1answer
325 views

Why I see the page “_layouts/newsbweb.aspx” after debugging my sitedefiniton?

I have a SharePoint 2010 portal. The site collection is from the site template "publishing site". I have created a simple site definition like in this tutorials: ...
0
votes
1answer
277 views

adding a document library to a site definition

Ive created a custom list definition that inherits from document and i want to add it to my site definition. Ive included the feature in the site definition so its available but im not sure how to add ...
0
votes
3answers
108 views

populate list after creation of site from custom site defintion

I need to populate a list that is created as part of a custom site definition from another source. Ive tried using a feature receiver but it states that the list has not been created. I guess that ...
0
votes
2answers
290 views

How to create custom site definition with extra properties?

I am making a custom site definition an I want my users to be able to set two extra properties when they select the site template. Currently I see the normal options "Title" & "URL Name". I think ...
0
votes
0answers
71 views

404 error after update-spsolution with site definition

i ran a upate-spsolution to update a site defintion and now any existing sites created from that site definition throws back a 404 error. Strangely any new sites i create using the site definition ...
0
votes
1answer
556 views

site definition master page problem

Ive created a site definition and am trying to reference a custom master page that is installed as a feature. For some reason when i create a site using the site definition i get a filenotfound ...
1
vote
1answer
3k 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
39 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 ...
2
votes
1answer
2k 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
159 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
196 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
1k 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
159 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
3k 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
426 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
105 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
117 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
96 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
171 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: ...
9
votes
3answers
11k 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
156 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
589 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
780 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
142 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
607 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
188 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
621 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
33 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
258 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 ...
1
vote
0answers
262 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
857 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
996 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
260 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
181 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
7k 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 ...