SharePoint site templates are pre-built definitions designed around a particular business need. You can use these templates as they are to create your own SharePoint site and then customize the site as much as you like. You’re probably familiar with the default site templates, like Team Site, Blog ...

learn more… | top users | synonyms

14
votes
2answers
838 views

When deploying a site from custom site template, one lookup column in doclib has empty values for Office 2010 (docx, xlsx, pptx) files

I'm deploying sites using a custom site template (WSP) that is: Saved as WSP from customized Team Site Deployed as Farm Solution Has lists, libraries with content customized in Visual Studio ...
13
votes
2answers
2k 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 ...
11
votes
1answer
11k views

How do you switch to a different site template in SharePoint 2010?

If you used a site template (such as the Document Center template) and wish to use a different template (such as a Team Site), how can you accomplish this? More importantly, how do you do this ...
7
votes
10answers
4k views

When to use Custom Site Definitions… and not

Its an old battle between ITpro and developer. ITpros hate them due to upgrade issues, devs like the freedom it gives them without having to do house cleaning with feature stapling. What is your ...
7
votes
3answers
344 views

Which Site Template is a site using?

I have inherited SharePoint 2010 farm that was previously upgraded from MOSS2007. I am wanting to document the setup and would like to document which site templates were used to create the various ...
7
votes
2answers
1k views

Sharepoint Q&A tool like Stack Exchange

Are there any add-ons to Sharepoint to provide a Q&A type of site like this one or Stack Exchange? This would be for an internal corporate intranet, rather than a public site. I know there are ...
7
votes
1answer
156 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
4answers
15k views

Programmatically create Site using Custom Web Template in Sharepoint 2010

I want to programmatically create a site using custom web templates in sharepoint 2010. In 2007 I used to get a SPWebTemplate template = site.GetCustomWebTemplates(LCID)[number]; and used this ...
6
votes
1answer
987 views

Error exporting the site field named “Parent Level”

I am trying to save a site as a template. During this process it throws an error "Error exporting the site field named "Parent Level". Am I doing anything wrong? Kind Regards, Sepaka
6
votes
1answer
741 views

How can I set the relative path to a workbook in the Chart Web Part, and use it within a template?

We have a team site in our solution (SPS 2010 - Enterprise). On this site there's a list. For every new item in the list, it creates a new site from a template. Structure: team-website website 1 ...
5
votes
6answers
1k views

Please suggest a practice to deploy a sharepoint site collection from test to production server

This is the current scenario: Sharepoint 2010 on MachineA with SQL Server. Site collection SCa on web app WAa. Now I need to "deploy" my site collection on MachineB. What are the suggested ways ...
5
votes
2answers
258 views

Why we need to do IIS Reset after adding a template

I added a template using, STSADM -o addtemplate -filename "C:\Stalker\BaleeeBaleee.stp" -title "YouBreakLive" I can see it in Central Administration in "Custom" site templates when I try to create ...
5
votes
3answers
505 views

SharePoint 2007 Site Template (.stp) file display category

I have created a Site Template file (.stp). When I add it to the site templates gallery of the target farm it shows up in a strange tab when you go to provision the a new sub-site based on the ...
5
votes
1answer
51 views

Is it possible to modify existing solutions/templates?

I modified the master page of a site and I would like to make all new sites that get created to use this master page by default. Is there a way to modify the built in site templates to use this master ...
4
votes
5answers
771 views

How can I include jQuery and JavaScript code without straying from the site template?

I've added my JavaScript code by including the script links in the PlaceHolderAdditionalPageHead <asp:Content> tag. Including this has caused a yellow warning stating The current page has ...
4
votes
3answers
295 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
1answer
1k views

How can an end user check what template a site was created from?

Is there a way that an end-user (or site collection administrator) without access to PowerShell or STSADM can check to see what template was used to create a given site on SharePoint 2010?
4
votes
4answers
651 views

Best practices when creating Site to use as a template

I'm creating a site that I'll eventually use as a template to create other sites from it. The site will contain lists, workflows, user groups, content types etc etc. I want to make lots of clones ...
4
votes
3answers
2k views

Deploying a site template and instantiate it in the same PowerShell script?

I want to create a PowerShell script that : add a farm solution that only contains a site template deploy the solution globally wait for the deploy job to finish create a site collection based on ...
4
votes
4answers
3k views

Relative URL for HTML links in Site Template

I have several links inside content editor webparts and on webpages that reference the site they are in. For example: <a href="/sites/ABC/page.aspx">Link</a> Site ABC is being saved as ...
4
votes
2answers
383 views

Search for specific Web Template in SharePoint Search

Is it possible to construct a SharePoint Search Query for a specific web type (site definition / web template id) in the same manner as for lists? I can easily search for my custom lists using ...
4
votes
2answers
8k views

SharePoint 2010: Site Templates and how to update existing sites based on that template.?

The question I’m going to ask might have a very simple answer, but I couldn’t figure it out myself yet. So here is the simplified scenario... I created a Site on Dev. SharePoint 2010, added a ...
4
votes
1answer
3k views

Create a site template for a project site

We want to create our own site template to be used as a template for team sites, this should include security groups, a specific set of lists and libraries with required settings and a selection of ...
4
votes
1answer
472 views

Save site as template do not include list attachments

I'm trying to create a site template which include several lists. On these lists, we've got items with attachments. I'm quite surprised not to see attachment in the WSP generated... I've created a ...
4
votes
2answers
157 views

Stuck in “Preview Page” mode in SharePoint 2013

I was editing the Seattle Master Page and suddenly my site got stuck in the "Preview Page" mode: And I don't know how to stop it. I returned back the template to the original Seattle template but ...
4
votes
1answer
610 views

Save a multilingual site as template

I created a site and set the language settings to multiple languages, so users can switch between different languages for the MUI. But I have also custom columns in a list. So, i translated the ...
3
votes
5answers
5k views

How to create programmatically a Site with a custom template?

I'm trying to create a site from my template... [WebMethod] public ResponseObject addGroup()//AddGroup addGroupObj) { try { string fullsite = ...
3
votes
2answers
3k views

Problem with Sharepoint ContentTypeBinding and Lookup field

I have a problem with ContentTypeBinding when creating a new site. I have custom site template definition where I have referenced Publishing Server Feature, so list Pages is automatically created on ...
3
votes
1answer
239 views

Structure of a WSP file

After you save a site as template you get a WSP file that you can then import in VS and tweak it as you want. I did this for a site today and had a lot of things in the WSP after I decompressed it, ...
3
votes
2answers
1k views

How to move site templates from SharePoint 2010 (on-premise) to SharePoint Online (Office 365)?

I tried to migrate a site template from an on premise installation to SharePoint 2010 Online (Office 365). When I try to create a new site I get the following error: The site template requires ...
3
votes
4answers
7k views

Make a copy of sharepoint site under a new name

Since we can't save SharePoint site (with publishing feature enabled) as Template, I'm looking for a way to do this programmatically : Make a copy of "SiteA" with a new name "SiteB" under the ...
3
votes
3answers
863 views

“new item” instead of “new document” in programmatic document library

I have a created a SharePoint 2013 document library programmatically within a custom site definition. The problem is that when I browse to the AllItems.aspx of that Doc Library a "new item" button ...
3
votes
1answer
856 views

Save Site as Template: Why is the “include content” section available for some sites but not others?

For some of our SharePoint sites and sub-sites, the "include content" checkbox is not available on the Save Site as Template page (in particular, Wiki sites). By "not available" I mean that the ...
3
votes
2answers
1k views

SharePoint 2010 Site Templates: Operation is not valid due to the current state of the object

When utilizing sites created from custom templates (e.g. OOTB team site with additional library added) and the content included in the template, the following error begins to appear when sites are ...
3
votes
2answers
2k views

How can I create a standard site template in SharePoint 2013

I want to create a standard site template which I can choose if I want create a new subsite. Can you show me the steps to make this possible=
3
votes
2answers
3k views

Server Error in Save Site as Template in SharePoint 2010

I am getting the following error when saving a site as a template (just this specific site is having this issue - other sites in collection successfully save as template) ...
3
votes
1answer
73 views

Template usercontrol hide based on page

Is it possible to hide a usercontrol that I have added to a custom template based on what page I am on. I have several pages that use the template but I only want one page to display the control the ...
3
votes
1answer
179 views

Site Template: retain Site Logo?

When I save a SharePoint 2013 Site Template, all my modifications stick, except for the Site Logo. How do I save the Site Logo in the template? Here's how I changed the site logo: I've uploaded it to ...
3
votes
1answer
411 views

Why are web part connections in a template breaking?

We have a SharePoint site that we created based on a blank site template. We add lists, pages, webparts (including some connected web parts) and then save this site as a template (.wsp file). We ...
3
votes
1answer
302 views

Is it possible to filter a BCS list using a site's name?

I'm running SharePoint Foundation and copying a site template per project. I would like to filter the BCS list in my template using the site name. Is there a possible method?
3
votes
2answers
3k views

Moving Site Template (.stp) files to SharePoint 2010

MOSS Site Template (.stp) files are no longer supported in SharePoint 2010. So how do you import .stp files? Isha Kapoor's blog post describes these steps: First you need to create a site in ...
2
votes
2answers
1k views

Create a template of a TFS integrated project site?

We are looking to create templates of our current TFS integrated project sites on SharePoint 2010 for future projects. Is it possible to create a SharePoint site template based on an empty TFS project ...
2
votes
3answers
399 views

Alternatives to Feature Stapling?

I'm trying to determine if there is any way to automatically deploy a few web parts on the creation of new My Sites pages, but in a manner that doesn't use feature stapling. I know how to feature ...
2
votes
1answer
520 views

.wsp/.cab file creation in SharePoint

So I had to dismantle a .wsp file to correct some pathing issues that wouldn't fix any other way in feature.xml (this is a site template), and now can't seem to find a decent utility to put the ...
2
votes
1answer
224 views

Why am I getting issues with a WSP imported into Visual Studio?

I imported a WSP (site template) in VS 2010 and compiled. I then tried to create a package (build > package). I am getting all sorts of issues. Why is that? The site templated was created using an ...
2
votes
1answer
231 views

Changing the Team Site Template

Is it possible to change the settings on an existing site template, such as the team site? We would like to recommend to our users to create sites using the team site template where possible, however ...
2
votes
1answer
360 views

Creating a site definition

We have some 30+ departmental sites that need to be created for our intranet on SharePoint 2010 and are looking for ways to accelerate this process. One method suggested has been to use a standardized ...
2
votes
3answers
10k views

SharePoint 2010 - Which template should I use for an intranet?

I need to select a root site template for an intranet wih the following requirements: SharePoint 2010 Small company Approx 40 users Subsites (Probably Site Collections) projects Finance HR ...
2
votes
3answers
440 views

Sharepoint 2013 Site Content > New Webpart Page

Please take a look at this link: http://msdn.microsoft.com/en-us/library/dd583147(v=office.11).aspx In that link it explains how to add custom templates into SharePoint for when you create a new ...
2
votes
2answers
2k views

Importing a WSP template - Error, require feature {69cadbef-ac7d-494d-9d0a-39a26e008377}

I've made a back up of site to produce a template file (WSP) in SharePoint 2010 online. I have then tried to import into my development platform, which is also SP 2010 online but keep getting the ...