rg:finish event parameters#
The rg:finish event allows Lightning web components and Aura components to notify Context Panel when a component completes its operation. By including specific parameters in this event, you can control how Context Panel responds — for example, by displaying notifications, refreshing activity lists, or providing quick access to created records.
This article provides a detailed reference for all available rg:finish event parameters.
Parameter reference#
Note: All parameters are optional.
Parameter |
Type |
Description |
Notes |
|---|---|---|---|
|
String |
The notification message to display in the Context Panel. |
If not provided, the message will depend on the created objects: For For If neither parameter contains values, no notification message will be displayed. |
|
Array |
An array of created activity IDs. |
If specified with at least one entry, the notification includes a View it now button for the first ID. |
|
Array |
An array of created object IDs (e.g., Cases, Contacts, etc.). |
If specified with at least one entry and |
|
Boolean |
A flag indicating whether Context Panel should reload saved activities. |
If set to |
|
Boolean |
A flag indicating whether Context Panel should reload resolved objects. |
If set to |
|
Boolean |
Controls whether Context Panel applies the configured Outlook category after a successful save. |
If set to |
|
Object |
Contains the Salesforce record IDs and Outlook attachment IDs to be linked after the save operation completes. |
Includes |
|
String[] |
The list of the Salesforce record IDs to which attachments should be linked. |
Must contain valid Salesforce record IDs. Include IDs only after creation is complete. |
|
String[] |
The list of Outlook attachment IDs to link to the created Salesforce records. |
Each attachment is linked to each record from |