Questions tagged [pre-chat-api]

The Pre-Chat-API represents the javascript api associated with Live Agent in Salesforce

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

Prepopulating the prechat fields in chat window for loggedin user in salesforce

How can we prepopulate the fields for the prechat fields in the chat window for embedded sevice deployments to pass the values to live agent for the logged in user.
0
votes
0answers
22 views

Live Agent - Pre-Chat - Preselect Contact or Show Search Results

When the user enters their information into the pre-chat form and clicks the Start Chat button, I want to: Look them up in Contacts and return the most specific matches I can find based on Email, ...
0
votes
1answer
35 views

How to replace “New Case” button from the lookup with a quick action?

I am trying pre-populate values on Case while creating a new case by selecting the below shown button on LiveChatTranscript page. I am not sure where to set the predefined values for this since it is ...
2
votes
0answers
49 views

How to get picklist values and translations using Aura and Apex?

Background: I was using a an aura lightning:recordEditForm containing a picklist field. This component will automatically detect user language and use the translations you have set for that field. ...
1
vote
1answer
159 views

Pass Additional Parameters to Prechat?

So the code to include the prechat component looks something like below: <div class="prechat"> <img id="liveagent_button_online_573000000000000" onclick="liveagent.startChat('...
9
votes
1answer
1k views

Is it possible to upsert Prechat data in a custom Lightning Snap-in?

Here are some related links: Custom Pre-Chat Component Sample Using Aura Custom Pre-Chat Component Sample Using JavaScript Find and Create Records Pre-Chat API Code Sample Based on link 3, it seems ...
1
vote
1answer
946 views

Live Agent Pre-Chat Doesn't Create Records using doCreate

I've got a pre-chat window, and in it I want to look for a lead and an account, and if they exist attach them to a new case. If they don't, we need to create them and then attach them to the new case. ...
2
votes
0answers
709 views

How to select picklist value based on an apex:inputField

In my LiveAgent prechat form I have a picklist for Department that has a Chat Button ID assigned to each value with a fallback button. <td> <span class="chatFormLabel">Department:</...
1
vote
0answers
151 views

OR logic in Live Agent - doFind

I would like to know if it is possible to use OR logic in Live Agent prechat doFind event. I'm aware that you can enter multiple criteria there, and they will be linked with AND logic together. I can'...
0
votes
1answer
157 views

Live Agent Custom Chat Issue error Interact is down for maintenance Sorry for the inconvenience

I am getting the above error when my user tries to start a chat and fills up the pre-chat form page. Now, when the user navigates from pre chat to custom chat page to start the chat error occurs. In ...
2
votes
0answers
112 views

Live Agent, Correct syntax to create Account from the prechat form?

I tried to create the account whenever the visitor submits the Prechat form. My guess is that I am not using the correct syntax.I want to populate multiple fields and show the account to the agent ...
1
vote
0answers
92 views

Live Agent “Visitor” show while chatting

I have configured live agent on the community, hence whenever the chat gets initiated, it shows "Visitor" instead of the Customer Community user Contact, Can you please let me know is there a way to ...
1
vote
0answers
108 views

Prechat form details

I want to create case as soon as support agent accept the chat and it is getting created, but now I want to populate the account name automatically from the prechat form, can it be done??? below are ...
3
votes
3answers
2k views

Live Agent Case creation from Pre Chat

I try to create a case as soon as I accept the chat. The case record type should be picked from the guest user profile which I mentioned only one, but in console the case gets created with the default ...