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

Is there a way to restrict the out of the box document libraries like "Document Library" "Picture Library" etc and just have custom document libraries being shown in the pop-up below?

enter image description here

share|improve this question
up vote 2 down vote accepted

Is your requirement to hide the action or prevent users from creating new lists in the SharePoint site? You could prevent users from creating lists by making them a contributer or create a custom permission level.

You can use the SPRoleDefinition class to programmatically create a permission level. Take a look at

Edit: There is another option. That is to unregister the document library list template from the site. You can do that by disabling the feature:

 Disable-SPFeature 00BFEA71-E717-4E80-AA17-D0C71B360101 -Url http://sharepoint/example
share|improve this answer

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.