SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a specific requirement, where we have to create dedicated site collection for hosting discussion boards. How we can disable all list and library templates and level only discussions, so users can only create those?

share|improve this question

There is no way to disable the ListTemplates in a Site Collection.

So I'd do the following:

  1. Hide the following SiteActions menuitems (this can be done by removing them from the Masterpage or by implementing a custom action and web control like this)
    1. CreateDocLib
    2. CreateSite
    3. Create
  2. Create a menu item to my own page to create a Discussion board
  3. Implement a EventHandler to cancel ListAdding (if not discussion board) and WebAdding
share|improve this answer

The lists (including OOB) are installed via features (OOB features are hidden) and activated when you create team sites or any other sites.

How about just disabling the features associated with the lists/doc library that you do not want to use. Below will list all the features.

$web = Get-SPWeb "http://site"
$site = Get-SPSite "http://site"

$web.Features | ForEach-Object {
  Write-Host $_.Definition.Id "---" $_.Definition.DisplayName
Write-Host "------------------------------"

$site.Features | ForEach-Object {
  Write-Host $_.Definition.Id "---" $_.Definition.DisplayName
share|improve this answer

Please see this similar question for list templates: Hide Listtemplate from Create Dialog in PowerShell

For site templates the procedure is similar. Navigate to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\1033\XML and locate the site template in either webtemp.xml or webtempsps.xml and change Hidden="TRUE" to Hidden="FALSE" and then perform an IISRESET. Likely a good idea to make a copy of these files before you change them.

share|improve this answer
I just noticed this is a question at the site collection level... I am really not sure if that is possible. – Robert Kaucher Mar 24 '12 at 14:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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