UserActions Component (for Lightning Components)

Coveo for Salesforce 3.38 (August 2019)

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 using the new Coveo User Profiling Service. The agent can see all the events performed by the user across multiple visit sessions, including during the visit in which the case was created, as seen from the Visit Browser page of the Coveo Cloud administration console (see Reviewing User Visits With the Visit Browser).

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

It is composed of the ClickedDocumentList Component, the QueryList Component, and the UserActivity Component.

Options

userId

Identifies the user from which Clicked Documents are displayed.

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="User Actions"></div>

summaryLabel

Label of the summary section

The default value is Session Summary.

<div data-summary-label="Session Summary"></div>

activityLabel

Label of the activity section.

The default value is User Recent Activity.

<div data-activity-label="User Recent Activity"></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>