Facets - officeName field not creating facet

I’m looking to create a facet for the built in officeName field on Healthcare Professionals.

I declared it in the config as follows:

officeName": {
          "label": "Office",
          "searchable": true,
          "searchLabelText": "Search our offices",
          "placeholderText": "Search"
        }

The facet is not appearing as a filter. After doing some digging, I noticed that there is not an entry for officeName in the parameter being passed into the transformFacets function. Is office name a supported field?

SDK Version 1.8
HH Theme Version: 1.20.0

Hi Marc,

Great question. In addition to the Frontend work, you’ll also need to make officeName a “facet” under searchable fields in the backend Search Configuration file. You can see this step outlined in the first part of the training here: Implementing Facets | Hitchhikers

Let us know if you have any questions on how to configure this.

Best,
Alyssa