List View Web Part Properties
In SharePoint 2013 and Office 365, there are a couple of pretty useful new web part properties that I would like to point out. When inserting an “app part” on a page (a list or library web part), there is a Miscellaneous section in the web part property toolpane.
- Insert a list or library (app) as a web part on a page in SharePoint.
- Open the web part properties toolpane. (Select the web part and in the ribbon on the Web Part tab, click Web Part Properties)
- Expand the section called Miscellaneous.
Disable view selector menu
This option is checked by default. When unchecked, will show the names of the views in the web part. When you click on the name of a view, it will navigate you over to that list or library. So, even though you’re not staying within the context of whatever web part page you’re on, at least it will get you to another view of the list/library.
Disable ‘Save This View’ Button
This option is checked by default. When unchecked, it will allow view modifications to be saved as a new view. When a user is looking at a list or library in SharePoint, as soon as they start clicking column headings for sorting and filtering, the Save This View button appears. I love this! A lot of times, I’ll put a web part on a page, and use “edit the current view” a few times, to get it looking the way I want. Then, if I want to do the same thing again, or on another page, I’d have to do that work again if I didn’t create it as a view in the first place. This allows me to save my view and choose public or private and give it a name. Keep in mind that this button will not appear until you click to sort or filter your columns. Also note that as always, if an end user does not have permission to create public views, of course their only option will be to create a private view.
Display search box
The search box at the top of lists and libraries is awesome! Now, this gives you the ability to display this small search box right in your web part, so users can quickly search through the files in that list/library and immediately see the results right in the web part without having to navigate away!
Takes away all of these checkboxes that I’ve described in this post, and removes any added functionality that they provide.
This is a web part with the view selector, save this view, and search box all showing:
Important note! These settings only exist with the default style in your views. In your view settings (not web part settings), if you have changed the style to anything but Default, none of these web part settings will be available to you.
I’ve recorded a video demonstrating all web part settings. Click on the image below to jump straight to the part where I start talking about these Miscellaneous settings.
I was wondering why I couldn’t het the search box working for my listview. Seems that the box is not rendered if the list’s property ‘Hidden’ is set to true.
Any experience with that?
I don’t work with many lists that are hidden lists like that, so no, I don’t have any experience with that happening. Did the other settings exist and not the search box?
The setting is available, but the searchbox itself is nog visible.
Peter, that is very strange. Not sure. Any custom branding that might be interfering?
In my page, I have inserted a Document Library and a List.
I have displayed the serach box for the Document Library.
When I search on it, it finds the items in my list and does not search in my document library.
Look in the advanced settings of your library and make sure it’s not set to be unsearchable. Other than that, I’ve never seen it behave that way. Maybe it’s only meant to be used with a single list or single library on a page at a time.
I created an infopath form for a list. When I navigate to the list, the list link(to all items) is displaying above the form web part. Is there a way to remove this link? I do not want users navigating back to the master list.
Don’t put the InfoPath form web part on the list itself. You can just create a link on your homepage or something for them to directly fill out the form, and you can even use a promoted links list. The form you need for a new form is http://site/lists/yourlistname/newform.aspx
when you link them to the new form, just be sure to remove the &source from the URL. None of this requires the InfoPath form web part.