Skip to main content

#Embedded Service Code Snippets0 discussing

I have an embedded service chat that I am adding to our web page.  When clicking to open the chat the header text is showing the same color as the header background but they are set as different colors in the branding settings.  It displays as expected both on a test experience site I have as well as a test visualforce page.  It is only once we put the snippet into our web page that the header does not show as expected.  The X and _ in the header also appear a bit larger.  Any ideas? #Embedded Service Code Snippets #Embedded Service #Live Chat

7 answers
  1. Tom Bassett (Vera Solutions) Forum Ambassador
    Sep 15, 2021, 7:06 AM

    Hello,

     

    I've had several occasions where this has happened to me. 

     

    As you've tested this on a visualforce page and in experience cloud you've managed to track down the cause as the website. 

     

    I suspect there is something on the website which is overwriting this CSS property. 

     

    Do you have a web developer that would be able to take a look at this for you?

     

    Thanks Tom

0/9000

I am using the Custom Snippet Settings File in a channel menu in experience cloud.

 

But when the page is loaded it gave me an error when I try to add this : embedded_svc.snippetSettingsFile.autoOpenPostChat = true;

 

I tried to debug the content of embedded_svc and it shows that it contains only parameters : menu and utils! THERE IS NO snippetSettingsFile

    console.log(window.embedded_svc.snippetSettingsFile); ---> UNDEFINED

 

#Service Cloud #Customer Service #Embedded Service #Embedded Service Code SnippetsHow can I load embedded_svc.snippetSettingsFile in the Custom Snippet Settings File to use it in the community/experience in the Channel Menu?

1 answer
  1. Tom Bassett (Vera Solutions) Forum Ambassador
    Aug 15, 2021, 2:24 PM

    Hello,

     

    I can see this question has been open for a while without a reply so thought I'd give this a try.

     

    Within the Experience Builder you can specify the Custom Snippet Settings File in the builder for Embedded Service Chat. 

     

    I believe for Channel Menu this has a label of Code Settings Name as shown here

     

    Hello, I can see this question has been open for a while without a reply so thought I'd give this a try.

     There is more on this specify for a Channel Menu here;  https://help.salesforce.com/s/articleView?id=sf.embedded_menu_code_changes.htm&type=5

     

    Thanks, Tom  

0/9000

Hello! Hope everyone is well! 

We are in the process of setting up and customizing an embedded chat deployment for our org and hope you can help us with the below questions.

1- Is there a way to hide the embedded chat window when all agents are busy/over capacity?

2- When you go to Embedded Service Deployment Settings, under Embedded Service Code Snippets (Get Code), How can I know if my chat snippet is version 3.0 or 4.0? I need 4.0 for automated invitations and to automatically populate the pre-chat form when customers are logged in.

3- In the Embedded chat set-up process, How do I remove the text “labels” from the chat set-up entirely (instead of changing the text)?

Thank you so much in advance for your help!

1 comment
0/9000

I am not a developer but will ask this question here in hopes of gauging the level of difficulty for a project.

 

We use Sales & Service Cloud as well as Financial Force.  We pass Sales Order data from Financial Force into SQL databases using a simple ETL routine with a product from Talend.  That data is then used by a web application (private, behind firewall) we have developed that runs on a MS server and leverages the .net framework.

 

We'd like to put an iframe (unless there is another way) with Sales Order object data on a page in our web app so we can edit the"Order Status" field in FF.  Our hope is to directly edit the FF object data and avoid having to write the the SQL data, then pass it back to platform, etc.

 

Curious on how doable this is, and if someone could direct me to some resources that I could share with our web developer that might help him achieve this.

 

Thanks in advance.

 

Greg

@Phil Ryan @Adam Yock 

1 comment
  1. Jun 3, 2020, 5:04 AM
    If I understood correctly, you are basically looking for a way to negate having to convert the Sales Order data into SQL database and just have this data be directly linked to the custom web application you've made? A possible tool that may help in this type of integration is Salesforce Connect. This would be the declarative preferred route. If the use of this is insufficient, one can potentially create code that would utilize Salesforce's API and make callouts from the web application to the database whenever a change was made. More information about Salesforce Connect can be found here: https://www.salesforce.com/blog/2015/12/announcing-salesforce-connect.html#:~:text=Salesforce%20Connect%20is%20an%20exciting,or%20cloud%2C%20directly%20from%20Salesforce.&text=APIs%20connect%20the%20apps%20that,and%20services%20from%20any%20device
0/9000