Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [site-definition]

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.

2
votes
0answers
31 views

Sharepoint 2016 - Subsite creation - There is no memory

I have a problem with SharePoint 2016 that I am struggling with. I cannot find the reason why, but when I try to create a subsite, I always get the following error: There is no memory on the server ...
0
votes
2answers
36 views

Need to create site definition with pages, libraries and subsites

can we create a site definition with publishing page library, sub sites with blog and wiki template and then custom columns(like taxonomy field)? I want to understand which approach is better in SP ...
1
vote
0answers
32 views

Add Document Library in my default.aspx site definition

I'm currently using SharePoint 2016. I want to add a document library webpart to my site definition landing page in the . I have this in my default.aspx <WebPartPages:WebPartZone runat="server" ...
0
votes
1answer
116 views

Publishing Pages creation during Site creation through site definition

I have deployed a custom site definition.. Features available in onet.xml are - Site Features- SharePoint Server Publishing Infrastructure Publishing Workflow feature Web Features Office ...
1
vote
0answers
40 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
48 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
30 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
2answers
699 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
1answer
78 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 ...
0
votes
0answers
193 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
846 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
99 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
100 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 ...
1
vote
1answer
440 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
585 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 guide,...
0
votes
1answer
301 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
688 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
337 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 ...
15
votes
3answers
461 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
23 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
95 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 ...
0
votes
2answers
74 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
417 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 ...
1
vote
1answer
2k 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 ...
10
votes
3answers
17k 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 ...
1
vote
1answer
125 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 ...
3
votes
1answer
1k views

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

MY SOLUTION: I've found 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 ID="...
1
vote
1answer
894 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 ...
2
votes
0answers
72 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 ...
0
votes
1answer
36 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 ...
1
vote
1answer
332 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 ...
5
votes
3answers
17k 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. ...
1
vote
2answers
920 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
4answers
733 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 ...
0
votes
2answers
223 views

OnQuickLaunch ignored in list instance

I have a list instance in which I set the OnQuickLaunch to TRUE and refer to in my Site Definition. However it gets ignored, why could it be? <ListInstance Title="Assistance" OnQuickLaunch="...
0
votes
1answer
577 views

Site Definition with Document library by default

I've created a new Site Definition which does not use Publishing features and I need to have 5 document libraries created by default on the new site created using this Site definition. The Collab. ...
1
vote
1answer
423 views

Sharepoint 2007 to Sharepoint 2010 Migration Issues

I recently migrated SharePoint 2007 portal to SharePoint 2010 using content database attach/detach method. After mounting the database in SharePoint 2010, site collection got created. When I browse ...
2
votes
2answers
3k 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
1answer
23 views

Apply contenttype to list in site definition

I have a site definition in which I create 3 document libraries. I have also created 3 contenttypes which I'd like to apply to each of these libraries. Can this be done in my Site Definition or can ...
2
votes
2answers
94 views

Why do we use list definition? When we need to use site definition in SharePoint?

I have a question for that need know absolution from this invoke. why do we use list definition? when does useful for site definition in SharePoint?
1
vote
1answer
3k views

Add a visual web part to the default page of the custom site definition via ONET.xml file

We have created a SharePoint solution with custom site definition and a simple visual Webpart using Visual Studio 2012. The purpose of the solution would be to add the custom visual webpart to the ...
0
votes
1answer
319 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 ...
0
votes
1answer
1k views

Hide specific Site Template from SP2010 Site creation list using Powershell or Stsadm

I have some custom site templates.. Now i want to just hide those templates from the Site Creation List.. I found some ways to like editing webtemp.xml and doing it from UI for each site collection.. ...
0
votes
1answer
73 views

Adding workflow in site definition created using visual studio 2010

I am creating a site definition by code. I want to add an already created workflow to this site definition, then what are the steps to achieve this? Please guide.
0
votes
1answer
893 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
24 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
4k 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?
2
votes
2answers
541 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
732 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
288 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 ...