Error: The field must be configured as facet - when trying to create 'specific field contains string' rule
I'm trying to create a listing page with criteria defined as a rule.
I have a field that is configured as a facet in config:
<fieldType fieldName="_promotionReferences" isFacet="true" isSortable="false" isMultiValue="true" settingType="Coveo.Framework.Configuration.FieldConfiguration, Coveo.Framework" />
And I'm defining my rule as:
But when I go to experience editor, I see the following:
I have also tried adding a facet item for the field in sitecore (via System > Settings > Buckets > Facets) but this doesn't fix the issue either.
What am I doing wrong?
Thanks for your help. I have changed the case to match what's in config and it now works fine
I used the autocomplete feature of the rules engine which only returns lowercase names - I guess it's probably sensible to just use lowercase in config.