A type of template specific to website design.

learn more… | top users | synonyms

2
votes
1answer
541 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 ...
1
vote
1answer
378 views

Custom default page - edits not saved in content editor web part

I've created a custom default.aspx page which is provisioned through a custom web template using SharePoint 2010. I've added the below code to add a content editor web part, with some default content. ...
0
votes
1answer
2k views

Custom Web Template not displaying /default.aspx

I've made a custom web template based on BLANKINTERNET that has a specified DefaultPageLayout and a set of available page layouts, these are set in the Publishing Feature. I upload the solution and ...
5
votes
3answers
456 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 ...
0
votes
1answer
152 views

Sharepoint Web template

I have created a web template solution by following Vesa "vesku" Juvonen 's blog(http://blogs.msdn.com/b/vesku/archive/2010/10/14/sharepoint-2010-and-web-templates.aspx). I have the web template and ...
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 ...
1
vote
1answer
873 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
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 ...
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 ...
4
votes
3answers
425 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.
2
votes
1answer
391 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 ...
1
vote
2answers
199 views

Is there a way to move a site across web applications regardless of site template?

I have our old 2007 intranet upgraded to 2010 via database attach. It's in its own web application and I want to move some of the sites over to our production web application. I'm using a script ...
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 ...
4
votes
2answers
9k 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 ...
3
votes
1answer
996 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, ...
2
votes
1answer
797 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 ...
1
vote
2answers
8k 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 ...
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 ...
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 ...