ViewedByCustomer component
ViewedByCustomer component
Lightning experience
|
|
|
The ViewedByCustomer component allows your agents to see, within the Salesforce Lightning console, every result which the user clicked. It displays an icon and a label on each result, if already viewed by the customer who created the case.
|
|
Note
This is a result template component and needs to be added to all result templates to show all results that were viewed by the customer. If a result template is missed, results that use that template won’t display the Viewed By Customer icon. |
Usage
<span class="CoveoViewedByCustomer"></span>
Options
showIcon
The icon displayed when the component is displayed itself.
The default value is true.
<div class="CoveoViewedByCustomer" data-show-icon="true"></div>
label
The label that should be displayed when the component is displayed.
The default value is Viewed by Customer.
<div class="CoveoViewedByCustomer" data-label="<MY_LABEL>"></div>
Where you replace <MY_LABEL> by the name you want to be displayed for the component.
Method
This component doesn’t offer any method.