March 16, 2021

Passing Custom Field Value to Chat Transcript object from Embedded Service Chat in Salesforce

Custom Field:
 

Code Snippet:
        embedded_svc.settings.extraPrechatFormDetails = [ {
            "label": "Skill Selected",
            "value": "Sales",
            "transcriptFields":[ "Skill__c" ],
            "displayToAgent": true
        } ];


Output:
 


No comments:

Post a Comment