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
2
votes
0answers
37 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. ...
0
votes
0answers
77 views

Getting Internal server issue in Console when performing search based on mail ID - Live agent

Under Live agent, getting Internal server issue when performing a search for Contact record based on mail ID field value from Pre-chat form. Below is the error: An internal server error has ...
0
votes
0answers
10 views

Accessing ChatTranscript field from vf page

I want to set the logged in users name to the chat transcript name field from vf page with pre chat form disabled. How would i access the fields. Purpose being, when prechat is disabled it shoows '...
1
vote
1answer
112 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
858 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
677 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
140 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
148 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
110 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
85 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
105 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 ...