We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [web-template]

A type of template specific to website design.

Filter by
Sorted by
Tagged with
14
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 ...
8
votes
1answer
350 views

Easy and maintainable way to create templates for sites?

What is currently the best way to add a template for site collections and subsites? Background: Vesa Juvonen wrote a good blog post in 2010 about declarative web templates over site definitions. ...
7
votes
3answers
4k views

Site Contents link in Quick Launch below Edit link (SharePoint 2013)

I'm creating a custom WebTemplate. I added the following NavBars to the template: <NavBars> <NavBar Name="SharePoint Top Navigation Bar" Url="" ID="1002" /> <NavBar Name="...
6
votes
1answer
679 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 ...
5
votes
2answers
9k views

How do I get the real Web template name and Id from a web?

I'm creating a tool that will "clone" webs inside a site. It reads child webs of a set web and displays them as templates for the user to select from. I've however run into a problem when I try to ...
5
votes
3answers
479 views

SharePoint Online web template debugging

I'm trying to develop a custom web template to use with SharePoint Online. I created an empty web online and saved it as a template (without content). I then loaded that WSP into Visual Studio and ...
5
votes
1answer
1k views

BaseTemplateId to use in WebTemplate element when creating template based on BLANKINTERNET

I am creating a WebTemplate based on BLANKINTERNET. I know the BaseTemplateId you reference in your web template isnt really used to anything, but still as a best practice should refer to the ...
4
votes
4answers
616 views

Publishing Site “Save site as template”

How to save site as template for a Publishing Site? I do not understand how this is done.
4
votes
2answers
11k views

The site template requires that the Feature {GUID} be installed in the farm or site collection

I thought Microsoft did a good job documenting sp2010. I am so frustrated that I can't find anything related to this. I have a web template project. All I want is to run bunch of code when a web is ...
4
votes
1answer
443 views

How get Site Template name in SPSite, and Web Template name in SPWeb using C#

I`m trying to analyse sharepoint site. In SPSite Level, I want to get Site template name, and In SPWeb Level, I also want to get web template name. But I am a newbie in SharePoint, I`m not sure ...
4
votes
4answers
1k views

Web Template - Receivers Not Firing

I have a custom web template used to provision site collections that activates features with onet.xml and is deployed as a farm solution. I've tried both feature receivers and event receivers (on ...
3
votes
1answer
579 views

Restrict the usage of a custom web template for sub-sites creation only

I created a WebTemplate in Visual Studio and deployed it as a farm solution (I couldn't create a sandbox solution because it needs to deploy a custom master page and other stuff to the GAC). Now it ...
3
votes
1answer
1k views

OOB Feature Stapling on custom web templates

I have read on several blog posts (Vesa,Mirjam) that custom web templates (CWT) does not support feature stapling (MSDN doesnt mention this tho, but I take their word on it). What I am wondering is, ...
3
votes
2answers
1k views

updating CustomMasterUrl of rootweb and subweb

I've created a web template and as part of the provisioning process I set the SPWeb.CustomMasterUrl. I do this in code. When I create a site collection using this template it works fine but if I try ...
3
votes
0answers
1k views

SharePoint 2013 Site Template Issue while creating new Site

I have created a Site Template using "Save Site as template" SharePoint option. While creating a new site using the Custom Site Template facing the below issue. Previously I was able to create the ...
3
votes
0answers
3k views

Upgrade SharePoint 2010 WebTemplate to SharePoint 2013

I had a SharePoint 2010 project that deploys a WebTemplate to the farm. I upgraded the project to make it compatible with SharePoint 2013 and updated the solution in SharePoint farm. Now, when I try ...
2
votes
6answers
5k views

How many root site collections we can create

I have a simple question just to remove my confusion. In one web application, can we create multiple root site collections ? I have 3 different custom web templates, and for each template, I want to ...
2
votes
2answers
4k views

Not able to deploy custom web template at farm scope

I have developed a custom Web Template based on "BDR#0" in SP 2013. It works perfect and I can deploy it using Site scope feature. The web template is developed by adding a Module in VS 2012 which ...
2
votes
1answer
798 views

Create Web part programatically VS 2010

we are to create several web parts after a site is provisioned with WSP. I can either create wp from scratch on feature action. Or save a set of WP in gallery and create an instance out of that when ...
2
votes
2answers
6k views

Create site collection with custom web template in Office 365 - SP2013

Is it possible to create a site collection (top level site) based on a custom web template, created in VS in the form of an app or sandbox? I know there's a possibility to use the "Select a template ...
2
votes
2answers
3k 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 ...
2
votes
1answer
3k views

why this site feature is not activated when I create a new site by my custom web template?

I am using sharepoint 2010 and vs2010. I have created a custom webtemplates and begin from a copy of a teamsite. In my onet.xml I see the following site feature elements: <SiteFeatures> &...
2
votes
2answers
2k views

“Web Template” item template is not available in Visual Studio 2012 list of item templates

I am working with visual studio 2012 and want to add sharepoint 2013 "Web Template" item from VS 2012 list of sharepoint 2013 item templates. But I could not find "Web Template" item in SP 2013 item ...
2
votes
1answer
1k views

Feature Activated Event not triggered when creating a new sub site with web template

When I create a new site I have a Web Scoped FeatureActivated event that I would like to run. The feature does get Activated but the FeatureActivated event is not triggered. The site is created with ...
2
votes
1answer
607 views

FeatureActivated not called for Site Template

We have an web-level feature that when you activate it will change the master pages used by the web to point to a .master page in the rootweb of the site collection. This feature has been activated ...
2
votes
1answer
411 views

Setting preview image for Sharepoint 2010 custom web template

I have a custom Sharepoint 2010 Web Template and I would like to set a custom preview image for it in the Sharepoint add site gallery. Example (I wanna set a custom image for the "Project Template ...
2
votes
1answer
2k views

Do Site Templates include content types in site collection

I had created custom content types in site settings that I was referencing with a list on a site. When I did a save as template from the site, would that have also saved the content types? I passed ...
2
votes
2answers
4k views

Custom Web template based on Team Site is empty

Following is the process I followed to create a Custom Web Template based on Team Site in SP 2013. I opened VS 2012 created an "empty SharePoint project", added an "Empty Element", changed its ...
2
votes
1answer
401 views

Whats the purpose of BaseTemplateName, BaseTemplateID and BaseConfigurationID?

What does BaseTemplateName, BaseTemplateID and BaseConfigurationID exacly do? Whats purpose of them in the webtemplate elements.xml? Thanks
2
votes
3answers
3k views

Problems adding webparts to a page in the correct order

I would think there's something supersimple I'm missing, but I can't find where I'm going wrong. I have a feature deploying a default.aspx page with two CQWP webparts. I use the AllUsersWebPart ...
2
votes
2answers
2k views

URL/Link to sharepoint members group of subsite used as web template

Is there a simple way to create a link that points to the default "members" group of a subsite? I'm creating a subsite web template and would like to have a link for future site managers that goes ...
2
votes
0answers
183 views

Template of Sharepoint Sites in Sharepoint 2013 created by CRM Microsoft Dynamics

At work I have got a CRM Microsoft Dynamics. At work we have got a lot of projects. When the new project is created in CRM we want to make a new site or site Colection for only this project. With a ...
2
votes
0answers
44 views

How to use Web Template in sharepoint 2010

I have created a Web Template named "My WebTemplate" in Visual studio 2010 and deployed successfully to http://somesite. Now in http://somesite web application. I want to create a site that uses "My ...
2
votes
1answer
263 views

error 0x80070055 when provisioning a site collection with Document Center or Record Center

In QC we are getting 0x80070055 error when provisioning a site collection with web template Document Center or Record Center template. Did some googleing and learned this error is due to dup guid in ...
1
vote
3answers
6k views

What is Site, Web, Site Template and Web Template in SharePoint?

Can anyone please tell me what the difference is between Site and Web in SharePoint. Also what is Site Template and Web Template?
1
vote
1answer
2k views

Hide Web Template?

I cant figure out how to hide a web template in the user interface, is this even possible? I found this answear to my question at Mirjam's blog, but I can't find the "Page layouts and site templates"...
1
vote
3answers
750 views

How to activate feature in a custom site

I have created a publishing web template. Now I need to activate a feature once the site is provisioned. In order to achieve this, I've created an event receiver with something like this: public ...
1
vote
2answers
12k views

Error when Creating a site from custom template - “A duplicate field name <name> was found.”

When a site has been saved as template and then automatically uploaded and activated in the solution gallery and a user is trying to create a new site based on this custom template he get's an error ...
1
vote
1answer
1k views

SharePoint 2013 Web Templates Masterpage not found

I created a new web template for SharePoint 2013 (as Farm solution, because it has to be selected when creating a new site collection). The site collection creates succesfully. But when I navigate to ...
1
vote
1answer
631 views

custom Web Template for Team site not showing Promoted links

I have created a custom web template which uses onet.xml file of 15hive\TEMPLATE\SiteTemplates\sts\xml and following is the element.xml file. However when I create a sub site based on this custom team ...
1
vote
1answer
931 views

Define subsites in webtemplate

Is it possible to define a subsite in a webtemplate? I can't use a site definition because I'm working in Office 365 - SharePoint Online. Wrong approach: I thought about activating a site-feature in ...
1
vote
1answer
260 views

How to create site collection with blank site template in SharePoint Online

Is there any way to create a site collection in SharePoint Online using the blank site template, STS#1 via PowerShell? I have attempted to do so already using the New-PnPTenantSite cmdlet and ...
1
vote
1answer
672 views

aspx page in module and ghosted web parts

I am making a webtemplate. This webtemplate activates a hidden feature which contains a module, deploying the default.aspx page. The module looks like this: <?xml version="1.0" encoding="utf-8"?&...
1
vote
1answer
2k views

Getting Web Template Not Found error while importing

I am importing a exported site with several sub-sites to a new Site Collection of its Own but getting following error Start Time: 8/9/2012 9:32:31 AM. Progress: Initializing Import. FatalError: ...
1
vote
1answer
76 views

WebTemplate for 'saved sites a template'

I am using MS Flow to POST a HTTP request to SharePoint to create a Sub site when an item has be entered into a list. I want to create this sub site using a site template I have saved. I am trying ...
1
vote
2answers
255 views

WebProvisioned event handler is firing twice and subsite does not inherit the parent's top navigation

I have created an web event receiver but the webprovisioned event handler fires twice. I have set the scope to web, but it still fires twice. Problem 1 This is elements file: <Elements xmlns="...
1
vote
2answers
1k views

After creating a Web Template the pageTitle becomes hidden, how can i access pageTitle from onet.xml

I have created a Web Template but I haven't quite gotten my head around the Onet.xml file. I've Added some custom Web Parts and basically done most of the things that people suggest one would ...
1
vote
2answers
960 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 ...
1
vote
2answers
1k views

Custom webtemplate - default webparts are missing

I have created my custom site, which contains custom WebTemplate, Master Page and Page. However, I don't have any SharePoint webparts to select. When I check my Web Part Gallery it's empty. "There ...
1
vote
1answer
1k views

Enabling Navigation and SharePoint Publishing Infrastructure

I have activated SharePoint Publishing Infrastructure feature provisioned through my web template. But the Navigation (my libraries in QuickLaunch bar) was not visible after publishing feature ...