Gravatar for abhinav.s.singh@avanade.com

Question by abhinav, Dec 15, 2018 4:16 PM

How to change default facet selection behavior

By default Coveo append all facet values into url but how can we make the changes to this logic because we want to show one collection at a time...previous selection should automatically clear as we select next collection

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Dec 21, 2018 10:16 AM

Hi,

The facet component does not support this feature out of the box. You could try coding this feature by creating a custom Coveo JavaScript Search Framework facet component that inherits the original facet component.

With Coveo for Sitecore Hive, you would also have to wrap your new custom component in a view rendering, and create a Placeholder Extender item to allow the insertion of your custom facet component inside the Coveo facets placeholder.

Ask a question