Disable toolbar in SharePoint list views

Tech Trek – 2011.04.29

One of the new features of SharePoint 2010 is the ability to create views of a list or library without folders. Although, helpful in navigation aspects this can be confusing to users while uploading documents especially when toolbars are available.

Modify view Folders

Unfortunately, there is no option to disable toolbars in the “Modify view” option. So, use SharePoint Designer and look for the following element and replace it with the value of “None”:

<Toolbar Type="Standard"

Viola! Toolbar and ribbon menu is gone so that users don’t upload documents where they shouldn’t. As a sidenote, below are the available property values from MSDN library. It’s amazing how they are not consistent with the Web Part values, though.

SPView.ToolbarType Property


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.