This article shows an example of customizing search results cards to shows the folder of a file in the footer of search result cards and previews.
To start, open the Data Hub and select File from the list of data types, and then navigate to the Renderer options in the data view.
In this Renderer option, select the Footer tab, and click on the [+] button on the top of the list to add a new footer element.
Select the element Neighbors As Links. This adds a clickable link with icon to the Footer of the search result and the file window. From within the added Link to Neighbors element, Select Folder as the Node Type and _ParentFolder as the Edge Type.
Finally, click Save to persist the changes.