Skip to main content

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
0 answers
45 views

Einstein live chat - how to create person accounts using pre chat form data?

I am trying to create person accounts with requirements as "a personaccount if non exists and or if it is found it links the personcontact to the transcript and the personaccount as well, ...
devin's user avatar
  • 1
0 votes
1 answer
627 views

Salesforce Chat Availablity API not working

I am new to Salesforce chat API. I had a requirement to check the chat button availability status. upon research I found below API: https://developer.salesforce.com/docs/atlas.en-us.live_agent_rest....
Aman Malik's user avatar
0 votes
1 answer
345 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 ...
SunnyG's user avatar
  • 421
2 votes
0 answers
343 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. ...
Sarah Ganci's user avatar
1 vote
1 answer
346 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('...
Adrian Larson's user avatar
  • 151k
9 votes
1 answer
2k 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 ...
Adrian Larson's user avatar
  • 151k
2 votes
0 answers
852 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:</...
Allen Mann's user avatar
  • 1,092
1 vote
0 answers
179 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'...
TSunar's user avatar
  • 197
0 votes
1 answer
229 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 ...
cloudy-ritz's user avatar
  • 2,593
2 votes
0 answers
126 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 ...
sfdc rowdy's user avatar
1 vote
0 answers
103 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 ...
sfdc rowdy's user avatar
1 vote
0 answers
125 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 ...
sfdc rowdy's user avatar
4 votes
3 answers
4k 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 ...
sfdc rowdy's user avatar