Forum Discussion
Hi vinay_iTalent
By default, coveo-atomic does not provide these options. You need to create a custom component as below.
Defines a method to render the content of the custom element and Retrieve the value of the "SpecificField" property from the search result data.
Ex Code Snippet:
const name = this.result.result.raw["SpecificField];
this.shadow.innerHTML = "by <a href=" + Name + " target='_blank' + Name + "</b></a> in <a href=" + Name + " target='_blank' + Name + "</b></a>
Constructs an HTML string representing the content to be displayed in the shadow DOM. It includes hyperlinks for the Fields, along with their respective labels as per the requirement.
Coveo Reference Document Link: https://docs.coveo.com/en/atomic/latest/cc-search/create-custom-components/