I am using sharepoint 2010 and VS2010.

I have implemented this tutorial for creating a custom web template, and it works:


I have used/copied the teamsite template like in this tutorial to my custom web template.

I am wondering if the following is possible:

I create a site collection from the site template "Publish Site".

In this site collection I create a sub site and select my custom web template (inherited from a teamsite template).

Is this ok, or not possible?

These are my custom web template files:

defaultdws.aspx (I copied this file from the teamsite site template)

default.aspx (I copied this file from the teamsite site template)

ONET.xml (I copied this file from the teamsite site template)

elements.xml (Here I inherit from the teamsite site template: BaseTemplateID="1" BaseTemplateName="STS" BaseConfigurationID="0")

  • What's your goal? Mar 27, 2013 at 20:08
  • I have already yet a site collection from the site template "publishing site", but I would like to create a custom webtemplate inherited from the site template "teamsite". I am afraid this is not compatible.
    – Ola
    Mar 27, 2013 at 20:11
  • You can always activate publsihing features on a Teamsite or vice versa Mar 28, 2013 at 7:11

1 Answer 1


It is possible,

Add /_Layouts/AreaTemplateSettings.aspx at end of your publishing site URL, it will take you to Page Layout and Site Template Settings which can be used to create a team site template as sub-site of publishing site.


Go to Site Actions > Site Settings > Look And Feel > Page Layout and Site template.

Select the list of templates you want.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.