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

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
695 views

VisualUpgrade doesn't fix all during 2010->2013 upgrade

MY SOLUTION: I've founded a solution for my problem. Before upgrade I've placed a special xml file in 15\CONFIG\UPGRADE folder, with information about my web templates, like this: <WebTemplate ...
1
vote
1answer
1k views

How to change the page layout or webpartzones on default page of a custom site definition?

Currently I've got a custom site definition (SharePoint 2010) that includes several features and also puts some webparts in the webpartzones on the default.aspx when a site based on this definition is ...
1
vote
0answers
23 views

Enable versioning for all the lists under a site through site definition

I want to enable versioning for all the lists under a site through site definition xml. Note: Would not prefer powerhshell script.
0
votes
0answers
35 views

Where is all documents view in the site template?

I got the task to update tons of site templates: add the column "Modified" to all views of all lists in all document libraries. Of course, I won't do this by hand. So I downloaded the templates, ...
0
votes
1answer
20 views

What happens if a Master Page doesn't meet the Site Definitions

What happens when your master page doesn't meet the site definitions? Will it still render correctly? Currently my master has the blue 'i' icon and doesn't meet site definitions. But still looks ...
0
votes
0answers
13 views

Site definition based on Community

I want to deploy a site definition based on a Community Template, in order to create websites that looks exactly like the Community ones. How can I do that? I tried copying Community onet.xml but it ...
0
votes
0answers
22 views

No Edit link on Sharepoint Toolbar

I'm developing a custom site definition but I noticed a problem. In a default Team site I have the Edit link on the toolbar, as shown in the picture: In my site definition there's no Edit button, ...
0
votes
2answers
70 views

Site Definition Custom Master Page: file not found

I'm trying to create a site definition that uses a custom master page. I created a module in VS, called MasterPages, in which there are two folders (one inside another): _catalogs, masterpage. Within ...
0
votes
0answers
27 views

How to create sitecollection with subsites using custom site definition

How do we create a site collection with subsites using a custom site definition?I have tried adding a new feature and a feature receiver for creating subsites and specified this web scoped feature in ...
0
votes
0answers
16 views

How to convert a site from a site definition into a web template based site?

I have a team site collection made from a site definition, and I am upgrading from 2010 to 2013, and I want the whole site collection be based on a web template equivalent of the site collection. I ...
0
votes
0answers
20 views

How to display multiple site configurations in SharePoint 2013?

I made a site definition and I have multiple configurations. But when I try to create a subsite, and I look under the SharePoint Customizations tab for Template Selection. I only see MyPublishingPage ...
0
votes
0answers
15 views

How to attach custom document template when creating site definition

I was looking at this page https://msdn.microsoft.com/en-us/library/office/aa978104%28v=office.14%29.aspx And I don't understand how to attach the document template file. <DocumentTemplates> ...
0
votes
0answers
45 views

What path to set for DocumentTemplateFile in sharepoint 2013 site definition?

In my SharePoint 2013 site definition I want to attach a document template file, like a docx. But when I put this <DocumentTemplates> <DocumentTemplate DisplayName="Blank Document" ...
0
votes
0answers
39 views

How to create a document library template in SharePoint 2013 site definition?

In a site definition in SP2013, I want to create a document library template (not instance). I have this code in my onet.xml: <?xml version="1.0" encoding="utf-8"?> <Project Title="Mysite" ...
0
votes
1answer
32 views

Order of Items in a single feature

Can we set order for items in a single feature? I was trying to create a site column of type lookup for which the lookup-list should be created first after that only we can create the column. In my ...
3
votes
2answers
4k views

What is difference between site template and site definition?

My organization has multiple clients. And we need to create similar site collections (with 4 lists and few items which must be the same for every client) for each client. So I was advised to create 1 ...
0
votes
1answer
33 views

SiteDefinition DocumentLibrary custom ContentType | OneDrive Syncronization

I figured out a strange behavior: I've developed a custom SiteDefinition including a custom List Instance (Document Library), which is including a custom ContentType (inheriting from document) with ...
0
votes
0answers
35 views

List instance in not created after deploying a feature which has this list definition and instance

I have a site definition: inside that I am creating a list definition & instance, one visual web part. I am creating a feature and putting all these list definition, instance and visual web part ...
2
votes
3answers
254 views

'Apps in Testing' throws JS error on clientContext - Cannot find current web URL

I have some JavaScript running on top of my Master Page. It works well except on one Site. When a 'Developer' Site collection is created, it adds 'Getting Started' and 'Apps in Testing' to the Home ...
0
votes
1answer
35 views

Creating new subsite in sharepoint 2013,site tempate

While creating subsite, it will ask to choose tempalte. I would like to remove few template from the option eg. Community site. So that user should not create subsite with community site template. ...
0
votes
1answer
552 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 ...
2
votes
2answers
2k views

Can custom site-definitions be upgraded in SharePoint 2013?

I have a site-collection on SharePoint 2013 which is using the SharePoint 2010 experience version and does include a website which is based on a custom site-definition. When i try to upgrade this ...
0
votes
0answers
62 views

Set welcome page when site created

I have a custom site definition. When site created I have an event receiver it will activate related features. After features have been activated I set my welcome page. public override void ...
0
votes
0answers
131 views

View property “InplaceSearchEnabled” in onet.xml ignored

i couldn't get the InplaceSearch displayed on my webpart through onet.xml. in my onet.xml file: <View List="Lists/Aufgaben" BaseViewID="1" WebPartZoneID="TaskTab"> <![CDATA[ ...
0
votes
1answer
150 views

Create custom SharePoint subsite template/definition

How could I create a template for a subsite? I have only got it to work to create a template for a site collection, using a site definition. How should I do it when using a subsite ? Here is a ...
0
votes
0answers
27 views

How translate lookup field in Site Definition

I create a lookup field on main site which look up on list on this site, and add this to list which adding to subsite, but I wont have main site in English but subsites in other languages and when I ...
0
votes
1answer
93 views

Add a Navigation Term Set in a Site Definition

I am new to SharePoint 2013. I am trying to provision a new site with an initial term set used for navigation. I was thinking i could use Visual Studio & create a Site Definition--similar to ...
1
vote
2answers
301 views

Can't edit Master Page without breaking the site

I'm a little confused as to what is happening with my Master Page. If I check out the .master and reupload it without making ANY changes to the file, I get an error saying one of the declared ...
0
votes
2answers
120 views

Creating a subsite from Site Definition gives access denied in SharePoint 2013

i have a Site Definition that creates discussion board, blog, and wiki, when creating the sub site based on this definition it behaves as the following: 1- if i'm logged in as System Account, the sub ...
0
votes
1answer
324 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: ...
8
votes
0answers
176 views

SharePoint 2013 Site Definition Toolbar Type Standard not showing

I have a problem with the toolbar type "standard" in SharePoint 2013. If I insert a XsltListViewWebPart with , there is no "New Element" button. And no "View Choice" and something like that. I've ...
1
vote
1answer
21 views

Which way should I go Site Definition or Inbuilt definition with customization?

I am new to Sharepoint. I need to create a totally customized site from the scratch level. Which means there would be many pages, customized master page and etc. I came to know that you should go for ...
1
vote
1answer
49 views

Provision pages to the site definiton after publishing is activated

I have a site definition, and in this site definition I would like to provision some pages with the webparts when the site is created using this template. I cannot provision whole the pages library ...
2
votes
1answer
543 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
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
64 views

Options for modifying custom site definitions in SharePoint 2010

There is a current custom site definition which many sites are based on that needs to be re-worked. I am familiar (somewhat) with creating and deploying new site definitions through VS and creating ...
0
votes
1answer
276 views

Sharepoint 2010 site definition and Lookup column

I have created a custom list definition with a lookup field using Visual Studio. Everything is working perfect. After that I created a site definition using Visual Studio and added this custom list ...
2
votes
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 ...
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
64 views

Is there an official description of all the OOTB site definitions?

Does a detailed definition of all the out of the box site definitions exist? If it's a book, please let me know what book, but I want something more descriptive than a one sentence description and the ...
0
votes
1answer
237 views

SiteDefinition and ContentBySearchWebPart

I have custom templates for a ContentBySearchWebPart. I tries to add these templates and a page with ContentBySearchWebPart by module which is implemented into onet.xml. My issue is when the web part ...
2
votes
0answers
69 views

to go with save site as a template, web template or site definition

I have to create a generic site template which has few tabs in the home page and on click of these links/tabs in this site template it will navigate to the sub sites created under that[this generic ...
1
vote
1answer
537 views

How to add TasksWithTimelineAndHierarchy web part to site definition

I am currently working on a site definition for a customer. Their wish is to create a team site with four subsites and some specified web parts on them. Safe to say all that works, but I am however ...
0
votes
1answer
32 views

Site provision cycle

I have some site definitions in which I have added multiple lists into the <Lists> tag and then I've added a stapling feature which will trigger a series of web-scoped features when sites are ...
2
votes
4answers
438 views

feature stapling in site definition

I want to create site definition using VS2010, also when any site get created it should activate few feature automatically. How to use feature stapling exactly , please anyone let me know step by step ...
1
vote
1answer
202 views

How can I add an app instance programmatically or declaratively?

I am currently working on a large deployment consisting of a large number of Site Collections with some custom SharePoint Apps (specifically custom ASP.Net High-Trust Provider Hosted Apps, but that ...
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" ...
1
vote
2answers
640 views

Provision list view for discussion board

I have provisioned a publishing page through a feature and andded an instance of a discussion board web part to the home page, this works fine. How can I make sure the web part chrome is set to ...
2
votes
3answers
7k views

Where is the default.master page?

I've inherited a SharePoint site with some odd behavior. In MS Office SharePoint Designer, when I "Reset to Site Definition" the "default.master" page, it still has lots of customizations, e.g. ...