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
42 views

Error when displaying the preChat window: "The token provided ('slds-form-element__label slds-no-flex') contains HTML space char" in lightning-input

I'm building a custom preChat using LWC. Strictly speaking, this is base preChat (taken from here : https://developer.salesforce.com/docs/component-library/bundle/lightningsnapin-base-prechat/...
user avatar
0 votes
1 answer
36 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....
user avatar
0 votes
1 answer
129 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 ...
user avatar
  • 379
2 votes
0 answers
112 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. ...
user avatar
1 vote
1 answer
262 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('...
user avatar
  • 142k
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 ...
user avatar
  • 142k
2 votes
0 answers
771 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:</...
user avatar
  • 1,072
1 vote
0 answers
169 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'...
user avatar
  • 187
0 votes
1 answer
191 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 ...
user avatar
  • 2,493
2 votes
0 answers
122 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 ...
user avatar
1 vote
0 answers
98 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 ...
user avatar
1 vote
0 answers
119 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 ...
user avatar
4 votes
3 answers
3k 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 ...
user avatar