Hello Sharepointers,

I've created a Discussion List, with a choice column where users must specify either Internal or External (our discussions will either cover internal or external issues).

When my users search, they will specify whether they're looking through internal or external discussions. This will cut down loads of unhelpful results.

I know I can create a Search Vertical to specify things like content types or source locations.

I know I can create a filter for a list view.

But how do I/should I create a search vertical option for them to search through internal or external discussions? Or should I be taking another approach? Should I create a page with a custom search box, with a Refinement webpart below it?

Many thanks! Matthew


You have MANY options. FOr example, you could create a search vertical just for Discussions. Then use the Internal/External choice as a refiner. (Create a refinable Managed Property based on the Crawled Property and mark it Refinable.) Then users could search for an issue then select Internal or External. The same way you would search for a TV and then choose Sony over Samsung.

Alternatively, you could create a vertical for Internal and another for External. Then users queries would be immediately filtered. It all depends on what you want them to do.

  • I can't find how to restrict a vertical's query specifically to our Discussions list, or to filter according to one column. I've tried adding this based on these instructions ( technet.microsoft.com/en-us/library/… ): {searchTerms?}(contentclass:sts_listitem) path:ourdomain.sharepoint.com/sites/it/projects AND InternalExternal:Internal But this yields no results. How do I create a vertical restricted to one list, AND only items with Internal selected? I'm reading Technets but can't find this information. Thanks again! – Matthew Mar 21 '17 at 18:23
  • As you start creating your query begin in the search center. Try contentClass=STS_ListItem_DiscussionBoard then add the path including the protocol. Finally, make sure the Managed Property InternalExternal is configured correctly. You can use the SharePoint 2013 Search Query Tool to test your work. – Matthew McDermott Mar 22 '17 at 14:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.