When using the Unified Interface > Entity Creation menu, the Case, Lead, or Opportunity menu items do not always associate the chat activity with the customer entity.
Note: In Web View, the association is made automatically.
To fix this issue, make sure that you meet the pre-conditions, then complete the following procedure.
Pre-conditions:
- From Microsoft Appsource, get the Channel Integration Framework.
- Configure the channel provider.
To associate the chat activity to the customer entity:
- As an agent, using an appropriate web browser (for example, Chrome, or Microsoft Edge), log into the organization.
- Launch the Unified Interface app.
- On the right of the screen, use the communication widget to establish a chat between the agent and a customer.
- To open the Entity Creation menu, type /n
- Select an entity, for example, Case
- Fill in the details of the Case title, and save it.
- Click the Chat Activity button.
The Regarding field should be updated with the entity name that you entered.
If this field displays the customer name instead of the entity name, the chat activity has not been associated correctly:
Similarly, under the Opportunities and Leads entries, if the fields display No data available, the chat activity has not been associated correctly. - To resolve this issue:
- From PowerApps portal click "Tables" from the left menu. Select "All" tab and search for "case".
- From case window go to From Data experiences column and click on Forms.
- Click on Case for Interactive experience.
-
If there is no Chat Session ID column on the left side, create new from here: "New table column"
Form Fileds window will open. Create form accordingly.
Display name: Chat Session ID
Field will be added in the left menu.
Data type: Single line of text
Format: Text
Behavior: Simple
Required: Business recommended
Searchable: Ticked
in Advanced options
Schema name: cxlvhlp_chatsessionid
Logical Name: cxlvhlp_chatsessionid
Maximum character count: 100
Input method editor (IME) mode: Auto
General: ticked on "Enable auditing"
Save - Double click on Chat Session ID filed in the left menu and it will be added to the form.
- If you want you can hide the filed from this editing window. Click on Save and Publish from the top right.
- For other entities (Lead, Opportunity, Custom entities), on the Opportunity, and Lead UI forms, add the field
cxlvhlp_chatactivityid
- From PowerApps portal click "Tables" from the left menu. Select "All" tab and search for "case".