-
JavaScript Components
- AugmentedResultList Component
- BoxAttachToCase Component
- BoxBody Component
- Box Component
- BoxCreateArticle Component
- BoxCurrentSort Component
- BoxCurrentTab Component
- BoxEditLink Component
- BoxExpandLink Component
- BoxFieldTable Component
- BoxHeader Component
- BoxPipelineContext Component
- BoxPopup Component
- BoxQuerySome Component
- BoxQuerySummary Component
- BoxQuickview Component
- BoxResultAction Component
- CaseCreation Component
- CaseDeflection Component
- ChatterThumbnail Component
- CommunityStateManager Component
- ConsoleResultLink Component
- Copy to Clipboard Component
- CreateArticle Component
- FullSearch Component
- InsightQuerySummary Component
- PipelineContext Component
- SalesforceAdaptiveResultLink Component
- SalesforceResultLink Component
- SalesforceThumbnail Component
- StandaloneSearchbox Component
- UserActions Component (Visualforce)
- UserActions Component (Lightning)
- ResultActionsSendEmail Component
- ResultActionsPostToFeed Component
- ResultActionsSendLiveAgent Component
- ResultQuickAction Component
- FullSearch Component
- ViewedByCustomer Component
ViewedByCustomer Component
Lightning Experience Coveo for Salesforce 3.39 (August 2019)
-
For this feature to work, you need to have the corresponding service enabled. Contact us to enable this feature.
-
The
CoveoViewedByCustomer
component won’t work if theUserActions
Component isn’t initialized on your search interface.
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.
The component can be added in the Coveo Insight Panel Lightning Component (see Adding the Viewed By Customer Component).
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 you want to be displayed for the component.
Method
This component doesn’t offer any method.