coveo facet allowed values
Hello - we are trying to implement the allowed values feature for facets and I was wondering if you can provide examples of where should be placed and the syntax.
Specifies an explicit list of allowedValues in the group by request. (See : Group By Parameters )
Does this go as a script inside Coveo.Search.ascx?
This question was already answered here: https://answers.coveo.com/questions/2117/custom-facets-in-coveo
CoveoSearch.ascx file to preserve the original one. Be sure to follow these instructions to set custom initialization options: https://developers.coveo.com/display/SC201502/Setting+Custom+Initialization+Options
If you want to go with the HTML data attribute way, you'll need to duplicate the CoveoFacet.ascx file and add your data attribute in it.
In all cases, when you copy the original ascx files, you need to create new sublayouts in Sitecore that targets your new ascx files and use those sublayouts in your search page presentation details.