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" under Look and Feel, so it didn't really help me.

Blockquote There is not "hidden" property for the WebTemplate element, like there is in the webtemp.xml files, but you can use the SharePoint user interface to hide web templates from it. You can do this by going into Site Settings and browsing to Page layouts and site templates under Look and Feel. In here you can select templates that can be used to create sub sites. Be aware that using this feature means you will have to enable new templates that can be used manually.


1 Answer 1


The "page layouts and site templates" page that is referred to in the post link you provided applies only to SharePoint "publishing" sites. These are sites that have the publishing features activated at the site collection and site level.

If your site is not in fact a publishing site, or if you wish to hide templates from within central admin, the only way to hide templates is to edit the webtemp.xml files. It's doable, but not a supported thing to do.


So after doing some research, it seems that WebTemplates can be farm or site collection scoped.


Based on that information, if you create your web template and package it into a site-scoped feature, the web template should only be available to create subsites if that feature has been activated.

  • But "webtemp.xml" isn't part of Web Template, only Site Template or Site Definition if I remember correct?
    – Tim
    Nov 22, 2011 at 13:30
  • Ah I see. So you are talking about a site that you've saved as a template?
    – Paul Lucas
    Nov 22, 2011 at 14:08
  • 2
    I'm talking about a Web Template. It has an element.xml file containing a WebTemplate element and a ONet.xml, nothing more or less.
    – Tim
    Nov 22, 2011 at 15:18

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.