Hi there,
Are we able to use Linked Entity Custom Fields as facets/filters?
I am currently trying to link Doctors to certain Locations with a linked entity custom field. I’ve added the linked entity custom field as a searchable field + turned facets on (Answers backend). I’ve run into problems in the frontend as I try to add this linked entity custom field as a Facets field in the Doctors vertical. Is this possible to do or would I have to create a new custom field for location in order to do this?
Thanks!
Hi Emily,
You should be able to use a linked location’s name field as a facet and without needing to do anything in the frontend except for enable facets by commenting-in the appropriate lines in the html.hbs file. What is the issue that you’re seeing? Have you checked the API response to see whether there are facets returned? You can do this with the new full screen test search feature enabled (from the Summer '21 release) or by inspecting the page and finding the search request/response.
Thanks,
Liz
Hi Liz,
Thanks - resolved!