Hi all,
Yes searching on and/or rendering fields from related entities besides name and entityId is now possible with Multi-Hop Search!
By default in the API response, we return all data fields from the entity, plus the name and entityId of related entities for rendering purposes. However, you can decide what fields you want returned by using the displayFields
property in the config, under each vertical.
So in @Sam_Davis 's first example, if I want to display Entity 1 name and Entity 2 name and custom field ABC, I would add the following to my config:
"verticals": {
"[verticalKey]": {
"displayFields": [
"name",
"c_linkedEntityName.name"
"c_linkedEntityName.c_customFieldABC"
],
...
},
...
}
Alex