function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Brandon Barb 4Brandon Barb 4 

Default Refiner on Global Community Search

I am using the Global Search in a Customer Service Community. I would like for the search to return only a certain set of records in a custom object based on a picklist value.

Is it possible to set a default refiner on the search, so that, for example, only records with Status__c = Final are returned?
Raj VakatiRaj Vakati
Yes 


Here we will show how to create a custom search component for the communities . To make the  Lightning component to allow it to be used as a custom search the for Customer Service community template the lightning component must implement the  forceCommunity:searchInterface interface .After you create a custom search component, admins can select it in Community Builder in Settings | Theme to replace the template’s standard Search & Post Publisher component.

https://rajvakati.com/2018/12/02/custom-search-component-for-communities-using-forcecommunitysearchinterface/