Dropdown to change the View disappeared
When you go to a document library or list in Sharepoint 2007, you see a dropdown in which you can select a different view or create a new view if you have the right permissions.
If you ever find yourself thinking “Where did the change the view dropdown go?”
Don’t worry, one of two things could have happened.
- You added a second document library webpart on your page, but this would be obvious because you would see two webparts, one with a dropdown and one without it.
- Your user (or yourself) -closed- the webpart and added it again, leaving the closed webpart on the page, but hidden. This one is harder to detect, because you only see the webpart without the dropdown.
How do you fix this?
In the first case there isn’t much of a problem, you -delete- the second webpart from the page or you leave it on there (but without the dropdown).
For the second case you’ll have to edit the page (Site Actions, Edit Page), press Add a Web Part. At the bottom of the dialog is a link “Advanced Web Part gallery and options“, click it. A side bar “Add Web Parts” appears. Below the “Select the collection you want to browse.” is a link called “Closed Web Parts“, when you click it the Web Part List with closed Web Parts appears. Select the Document Library Web Part and click the “Add” button on the bottom of the screen. The page will show the two Web Parts, -delete- the one without the dropdown and you’re back in business.
Why? A web part which shows a list is supposed to display only one view of the list at a time. But you can definitely change the view by modifying the shared web part properties.
If you like this post then please consider subscribing to my full feed RSS. You can also subscribe by Email and have new posts sent directly to your inbox.



September 22nd, 2008 at 01:48
[...] Dropdown to change the View disappeared [...]
December 1st, 2008 at 17:39
This problem has happened to us several times. This is a great find and corrected our issue.
February 18th, 2009 at 18:05
Extremely helpful post!
April 14th, 2009 at 21:24
Great solution and awesome explanation.
April 29th, 2009 at 17:59
This was the solution to my issue. Thank you for the very detailed explanation.
June 10th, 2009 at 18:51
but what if you accidentally deleted (not closed) the original webpart?
June 11th, 2009 at 18:47
I was looking for a way to hide the Views control or for permissions to stop users from being able to change the default view. This works great in reverse of the original problem of this post. Thanks
June 22nd, 2009 at 18:18
I have the same situation as Clinteo– the original web part was deleted, not closed, so it can’t be reopened from the Advanced Web Part gallery. Thanks for the help!
June 22nd, 2009 at 21:27
I’m still not clear as to why these dis-appear and if there is a way to track if someone closed it??
June 23rd, 2009 at 14:07
After some digging around in SharePoint Designer and in SharePoint itself, I have a solution for restoring the View dropdown after the out-of-the-box List View Web Part has been deleted. This solution can be accomplished without SharePoint Designer if you are working with a library, but to clean out the views from a list, you will need SharePoint Designer. I am doing this in MOSS 2007 SP1, but it should work for WSS 3.0 as well.
For this example, I am using a document library called Public Documents and my View is allitems.aspx, but this should work for any list or library.
Here are the steps for bringing back the View dropdown:
1. Navigate to the list or library that is missing the View dropdown
2. Go to Site Actions > Edit Page > Add a Web Part . In the Lists and Libraries section, check the box next to the Public Documents library and click the Add button.
3. Within the new Web Part, go to edit > Modify Shared Web Part and change the Toolbar Type to “Full Toolbar”. Click the OK button.
4. Click the link to Exit Edit Mode and you should have the Full Toolbar for the list/library displayed, but it is still missing the View dropdown menu.
5. Go to Settings > Create View .
6. Choose Standard View .
7. Name the view, check the “Make this the default view” box, select the columns to include, and click the OK button.
8. Voila, the View dropdown menu is back on the site.
9. To completely clean it up, for a list, open in SharePoint Designer and delete the allitems.aspx view from the Forms folder. For a library, you can go to the Actions menu and select Open with Windows Explorer . Open the Forms folder (you may need to show hidden files to see this folder) and delete the allitems.aspx view. If you do not have access to SharePoint Designer and you are working in a list, you will need to delete the link on the Quick Launch and add again to point to your new view name.
10. If the View you deleted was the default for the list or library, it may remove the link from the Quick Launch. It can be added again by going to View All Site Content , selecting the appropriate list or library, going into its Settings menu, and modifying the Title, description and navigation settings to show on the Quick Launch.
July 26th, 2009 at 12:49
Thanks man! Helped us a lot!!!
August 12th, 2009 at 00:41
Thanks for saving me alot of time!!! Great write-up!
August 17th, 2009 at 19:11
This was a big help. Thanks for taking the time to post.
August 20th, 2009 at 10:56
Hey the problem still exist for me. I am adding a new list view webpart which was not added, closed or deleted before. I still dont see the view dropdown. And i am not using sharepoint designer.
Hope to get some help
- bhargavi
August 28th, 2009 at 21:53
Back in business! Started to pull my hair out before stumbling onto this. Thanks!!!
September 10th, 2009 at 13:19
Thank you! You saved me!
October 5th, 2009 at 01:44
Thank you so much! This was driving me crazy. No one has had training on SP at my company so I am self taught. Thanks again.
October 5th, 2009 at 16:06
Excellent post!
November 9th, 2009 at 14:10
Thanks, as this is day one of our Upgrade, you made it easy to put-out at least one fire.
November 16th, 2009 at 16:55
This solutions is excellent. Well done
November 20th, 2009 at 11:02
Thank you very much! You saved my life today!
December 1st, 2009 at 13:47
Thanks a lot,,it worked just fine.
January 15th, 2010 at 21:04
This is great… saved me a couple hours of troubleshooting a user error… ARGH!!!
)
January 15th, 2010 at 21:38
You the man!
January 15th, 2010 at 22:01
One other thing I learned that might help others: after I followed the City of Champions advice, my quick launch was still linking to a “corrupted” view. I went into site settings and created a new quick launch with a link to the correct new view. Then I deleted the bad quick link. – Works great!
February 3rd, 2010 at 23:12
Great article. Fixed my problem to the T!
February 11th, 2010 at 19:04
Great article. Thank you very much! You saved my life today!
February 15th, 2010 at 21:20
Thank you very much, saved my evening…
February 19th, 2010 at 21:36
Thanks! That fixed my issue.