Hot answers tagged

4 votes
Accepted

Unable to send chat message in live agent via REST api

I tried to access Salesforce Live Agent REST API(version 40) through a standalone Java class and was able to call all methods successfully. Please see the below code and check if you have missed ...
Saroj Bera's user avatar
  • 14.6k
4 votes
Accepted

Embedded Service Chat component in community - using "Snippet Settings File" javascript to override pre-chat file is not working

Eventually I did succeed on the task to use this javascript override. But I did it in a specific way - not as in my question In this snippet I am disabling the creation of case and contact, and in a ...
Itai Shmida's user avatar
  • 4,995
4 votes
Accepted

Create person account in pre-chat form?

UPDATE 09-04-2020 The workaround below has worked fine, but I had to remove it due to a change to our Org which enforces unicity on e-mail address. Anyway, I figured out what the problem was with the ...
RickForce's user avatar
  • 108
3 votes
Accepted

Masking sensitive content in a Chat Transcript

Do chat transcripts get saved to the database every time a new message is sent, or, are they stored in memory until the chat has ended before being committed at once? After some testing it turned ...
Mossi's user avatar
  • 3,906
3 votes
Accepted

Translate Prechat page for Live Agent Salesforce

You need to add the "language" parameter to your page tag. <apex:page language="xx"> You could populate the value of the 'xx' with something you query from the user, or a URL parameter from ...
JimRae's user avatar
  • 5,016
2 votes

Turn OFF Chat Thumbnail

Enabling and Disabling Chat Chat is enabled by default in organizations that have Chatter enabled. Click Your Name | Setup | Customize | Chatter | Chat Settings. Click Edit. Under Chat Settings, ...
Ratan Paul's user avatar
  • 22.5k
2 votes

Amplify Salesforce Live Agent chat notifications

Here is the new winter 19 feature that could deliver the same output in few line of code. We are routing the live agent via Omni channel. <aura:component implements="force:appHostable,...
Kannan's user avatar
  • 21
2 votes

How do I stop this error on specific Orgs? What feature is Causing it?

Each person has Chat Options within the Chat overlay. there is a "Play Sounds Option" I turned this off and the Error went away. Obviously I wont get notifications, but because it is flash I am not ...
TheArchitecta's user avatar
2 votes
Accepted

Is there a way to know if the chat is active?

Salesforce provides a method called addButtonEventHandler to handle such scenarios. Once you implement the method you can do JavaScript actions based on the different status like BUTTON_AVAILABLE or ...
Saroj Bera's user avatar
  • 14.6k
2 votes

CaseId is not associated to LiveChatTranscript record as expected

We had the same issue on our Org. We already opened a ticket with Salesforce. So wish you/us luck. Thing has escalated already. Workaround is to use an on before trigger on the LiveChatTranscript to ...
tugamaster's user avatar
2 votes

Live Chat - users can't create a New case from a transcript?

There are Service Cloud Chat API methods that you can use after chat finishes. Check the page 40 of the developer guide. You will need a Visualforce component. Documentation
Atlas Can's user avatar
  • 1,857
2 votes

Omni channel for sales cloud

Yes, you can use Omni Channel for Sales cloud for Leads, Order, Custom Objects, But not for Opportunities. Supported Objects, Though you can work around using a shadow custom object. Each sales cloud ...
Pranay Jaiswal's user avatar
2 votes

chat embedded_svc.settings.fallbackRouting not working

Well I am not sure if you're still looking for answer to that but I had to implement fallback routing and that too dynamically. So initially it checks the agent availability based on the button ...
Monika's user avatar
  • 21
2 votes
Accepted

can I underline bold or change the color of HTTPS links in chat bot dialogue

So, I found this idea that is raised and currently open, and to make the knowledge articles as a link, the only way I found was to have a custom lwc implementation.
Anutej's user avatar
  • 469
2 votes
Accepted

Clear data from SalesForceChat

I'll answer my own question in case anyone finds this post. We kept using the same methods mentioned in the OP embedded_svc.liveAgentAPI.endChat(); embedded_svc.liveAgentAPI.clearSession(); but we ...
Drkawashima's user avatar
2 votes

DML operation Update not allowed on PresenceUserConfig

The SOAP/REST/Tooling/etc documentation tells you if you can perform a given operation in that API. Apex is not allowed to perform DML on some types of objects that are otherwise createable/updateable ...
sfdcfox's user avatar
  • 481k
2 votes

Einstein Bot to Auto End Session if Idle

If you can associate the Einstein bot with a Chat Button, then you can setup time-out under the chat button settings. (To add a chat button to a bot, go to add connection section under overview page ...
Shamina's user avatar
  • 4,185
2 votes

Customers are unable to attach/upload a File after a Live Agent has Initiated a File Transfer During a Chat Session

We resolved this issue after adding the salesforce platform Domain URL to CSP settings setup --> Domains --> My Domain Add My Domain at setup -->CSP
user113838's user avatar
2 votes
Accepted

What does the "Chat User" checkbox on the User object do?

Chat user field (UserPermissionsLiveAgentUser) is needed if the user has to work on Salesforce chat. This checkbox assigns the Chat licence/Permission to the user to be able to access the Omni Chat ...
prabuddh kumar's user avatar
2 votes
Accepted

Static Resource with Cache Control set to Public is not Loading on external website for external users

What is the use of setting the cache to Public? It allows the cached data to persist beyond the current session. How can we serve images and other resources out to external users while having ...
sfdcfox's user avatar
  • 481k
1 vote

Salesforce Community - Main page displays "Try reloading the page or try again later" prompt on page load. What causes this?

SFDC tried removing the CSS/Header code and replacing it, but that didn't work (though it's worth trying). Then, SFDC Support moved to removing the Chat component. Per their Case comments: Upon ...
Jay Kilian's user avatar
1 vote

Content Security Policy in Embedded Service's Post-chat VF page

Yup, we've had the same issue. The solution is to go to the Site page in Salesforce (Setup > Develop > Sites) and then add a Trusted Domains for Inline Frames. Make sure you verify your ...
markgarg's user avatar
  • 734
1 vote

Salesforce Chat / Live Agent / Basic test isn't showing button

Ultimately it came down to something obvious... We had disabled "Chat User" on our Admin accounts in preparation for going live, the user accounts were the only ones enabled. Once the permissions had ...
sfdc_beginner1's user avatar
1 vote

I am not able to add the url of my community page to chat with customers section in service console

You need to remove everything past the ".com" so copy in " https://xyz-pqrs.force.com"
Assad Habib's user avatar
1 vote
Accepted

Live Agent Chat - Routing by Region

Based on the snap-in tag on your post, I'm going to assume you're using a custom snap-in with the Live Chat APi instead of your own custom JS to connect to the Console from your web site. How you send ...
crmprogdev's user avatar
  • 40.9k
1 vote

first error: FIELD_INTEGRITY_EXCEPTION, field integrity exception: []

I hit the same error trying to create a PSR for OmniChannel, and discovered that I had to include RoutingType field value for the PSR, and it had to be set to 'SkillsBased'. (I would get the error if ...
Delphine's user avatar
  • 183
1 vote

Einstein Bot after-hours support

I was working on the similar problem. Here's the approach that we followed. Create a custom Business Hours for you support team if needed or use the default Business Hours for you org. When the '...
roh777x's user avatar
  • 125
1 vote

Einstein Bot after-hours support

You can create a dialog to use as a 'No Agents' available message and add your message including your 'Contact Us' page and/or email. Once you've created the dialog, use the drop down button to the ...
Antonella's user avatar
1 vote
Accepted

Snap-ins Pre-Chat - Case is not created when no "Subject" is given

You have two options, or set the subject as required or prepopulate the field in the code. embedded_svc.settings.extraPrechatFormDetails = [{ "label": "issue", "value": "...
manukadi's user avatar
1 vote

Is this possible to enable Einstein ChatBot in Developer org

No Einstein CHatBot is not available in Developer Org. You can still try this in Summer 18 Pre-Release Org for free. Pre-release orgs are just a more advanced form of developer org that help you play ...
Pranay Jaiswal's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible