This post contains minor but nifty tweak to search box in SharePoint list views. Applies to 2013, and Office 365 (for now). Pretty basic stuff, but had to figure this out for a customer so can just as well document it here 🙂
Okay – so a customer needed to be able to filter view items in a SharePoint list by values in a ke
yword-field (managed metadata, with values added by editor users), and wanted to use the SharePoint’s searchbox. The problem was, out of the box this field does not search from “Enterprise Keywords”-field (or any similar field). This searchbox does, however, use search index, so anything that’s there, is also searchable in the view, after a few simple configuration steps.
- Make sure the field values are crawled and mapped to something (Enterprise Keywords being an out of the box field it is crawled by default and searchable as text). You can check the property mappings in an url like this: https://yoursitecollectionurl/_layouts/15/listmanagedproperties.aspx?level=site (Office 365 & SharePoint 2013)
- Add the field (such as Enterprise Keywords or your own managed metadata field) to the view
- Make sure search has crawled the values for the document (if you’re using on-prem SharePoint, just wait for the incremental or continuous crawl to finish, or give it a gentle kick if you’re in a hurry).
- You should have something like this now:
- If the crawl has already finished, you should be able to filter the view using a simple text view now!
So, something like this:
Latest posts by Antti K. Koskela (see all)
- How to fix an Office Group with no Owners - November 14, 2018
- Help! My “Content and Structure” page in SharePoint Online is gone! - November 7, 2018
- Thanks for coming to my session at SPS New England 10/20 ! - October 20, 2018
- Speaking at SPS New England on 10/20! - October 17, 2018