UserActions Component (for Lightning Components)

Coveo for Salesforce 3.38 (August 2019)

Contact us to enable this feature.

The UserActions component for Lightning components allows your agents to see, within the Salesforce Lightning console, up to the last 2000 actions performed by the end-user across any Coveo page or component. The component displays information gathered from Coveo Usage Analytics (Coveo UA) using the new Coveo User Profiling Service. The agent can see all the events performed by the user across many visit sessions, including during the visit in which the case was created, as seen from the Visit Browser page of the Coveo Administration Console (see Review User Visits With the Visit Browser).

The component can be added in the Coveo Insight Panel Lightning Component (see Adding the UserActions Component).

It’s composed of the ClickedDocumentList Component, the QueryList Component, and the UserActivity Component.

To ensure that the actions taken by a user during their multiple visits are displayed accurately, the UserActions component leverages the Coveo User Stitching service.

In Health Insurance Portability and Accountability Act (HIPAA) environments, the UserActions component may display Personal Health Information (PHI), per normal usage. However, no data is stored in Salesforce. The data that’s returned by the UserActions component follows the same security rules as the Coveo Search component.

Options

userId

Identifies the user whose actions are to be displayed.

  • The userId can only be a single value.
  • The Coveo User Stitching service consolidates all the actions taken by a user across multiple IDs, sessions, and devices into one profile.

This option is required.

buttonLabel

Label of the button used to open the user actions.

The default value is User Actions.

<div data-button-label="<MY_LABEL>"></div>

Where you can replace <MY_LABEL> by the label you want for the button used to open the user actions.

summaryLabel

Label of the summary section

The default value is Session Summary.

<div data-summary-label="<MY_LABEL>"></div>

Where you can replace <MY_LABEL> by the label you want for the summary section.

activityLabel

Label of the activity section.

The default value is User Recent Activity.

<div data-activity-label="<MY_LABEL>"></div>

Where you can replace MY_LABEL by the label you want for the activity section.

viewedByCustomer

Whether to add the ViewByCustomer component.

The default value is true.

<div data-viewed-by-customer="true"></div>

hidden

Whether the UserAction component should be hidden.

If you want the ViewedByCustomer component to be visible but not the user actions, set data-hidden="true".

Default: false

<div data-hidden="false"></div>

Methods

hide

This method hides the panel.

show

This method shows the panel.

toggle

This method opens or closes the UserActions component, depending on its current state.

Usage

<div class="CoveoUserActions"></div>
Recommended Articles