Skip to main content

I have created a pre-chat form on my community site. A visitor is chatting with an agent.

Before accepting the chat request, I am able to see the visitor details like First Name, Last Name & Email id

 

Agent not able to get last Name & email of the user while chatting, which was filled in pre-chat form

 

But once the agent accepts the chat request & starts chatting, the agent is not able to get Lastname & email that is filled in the pre-chat form.

 

screenshot2.png

 In case if a user is part of the system, it maps with a contact record, in case if the user is a new user we are not able to get the info that is filled in the pre-chat form.

답변 2개
  1. 2021년 11월 18일 오전 5:53

    @Piyush Singhal, Thanks for the Response,

    I solved it with help of a custom javascript & added a new field custom field in  Chat Transcript Object. 

    I used the custom javascript via snippet setting  to override the exiting pre-chat window behaviour. following link helped

    https://developer.salesforce.com/docs/atlas.en-us.216.0.snapins_web_dev.meta/snapins_web_dev/snapins_web_snippet_settings_file.htm

0/9000