How to set data-allowed-values on facet dynamically.
Hi, I am using Coveo jsframeworks and would like to set the data-allowed-values dynamically based on the results returned. Some result items have more than one keyword attached to it and I would like to to just show one.
Hmm I don't see how that would work --- the allowed values are used for retrieving facet information at the same time as the main query, so it's not really possible to have them depend on the results. But maybe I'm not getting what you're trying to do. Maybe if you reformulate?