Skip to main content

#Embedded Service5 discussing

Embedded Service Deployment fails to publish with internal server error (both new & existing deployments) — Agentforce Service Agent routing I'm trying to deploy an Agentforce agent via Embedded Messa

 

 Embedded Service Deployment fails to publish with internal server error (both new & existing deployments) — Agentforce Service Agent routing

 

I'm trying to deploy an Agentforce agent via Embedded Messaging on an Experience Cloud (Digital Experience) site, and every attempt to publish or create an Embedded Service Deployment fails with an internal server error.  

@shefali tanwar any solution for this 

 

#Agentforce  #Embedded Service

7 comments
  1. Jul 24, 6:22 AM

    Thanks, @Tom Methews. The issue has been resolved. The root cause was that the org's data storage limit had been exceeded.

0/9000

We are embedding Tableau dashboards using Embedding API v3 (<tableau-viz>) inside an Angular SPA.

While embedding, we consistently observe that one internal VizQL request:

/vizql/.../startSession/viewing

intermittently fails with a “Page unavailable / content doesn’t exist” response in the browser network tab. However:

  • The dashboard still loads and renders successfully
  • Other VizQL requests execute correctly
  • The issue does not impact user functionality
  • This occurs mainly in an SPA context (Angular route navigation / component lifecycle)

We understand that VizQL endpoints are internal and not part of the supported public API surface, and that Tableau manages session handling internally when using Embedding API v3.

Our questions:

  1. Is it expected behavior for startSession/viewing to intermittently fail while the viz still renders successfully when using Embedding API v3?
  2. Can this failure be safely ignored if the dashboard loads and firstinteractive fires?
  3. Are there any recommended best practices for SPA frameworks (Angular) to avoid duplicate or racing VizQL session initialization?
  4. Is there any official documentation confirming that such VizQL failures are non-blocking in embedded scenarios?

We want to confirm that this behavior is by design and that no application-side changes are required, as long as:

  • The workbook/view exists and is not renamed or deleted
  • The embed URL is correct
  • Proper permissions/access are maintained

Any clarification from Tableau would be appreciated. 

 

#Tableau Cloud  #Tableau APIs & Embedding  #Embedded Service

1 answer
  1. Jan 15, 11:07 PM

    @manish bandewar

     

    Hi, I have not found info related to your issue. However, I recommend: 

     

    a. Sign up in the Data Dev Slack Workspace (Link valid for 30 days) 

    https://join.slack.com/t/tableau-datadev/shared_invite/zt-3njdprmgi-59R0QldYIyikrhkTpGvzxg

     

     

    There, you will find the help-javascript-api and the dev-embedded-analytics channel where you may post your question. 

     

    b. I would also recommend you to create a support case: 

    https://help.salesforce.com/s/cases

     

     

    If this post resolves the question, would you be so kind to "Accept this Answer"?. This will help other users find the same answer/resolution and help community keep track of answered questions. Thank you. 

     

    Regards, 

     

    Diego Martinez 

    Tableau Visionary and Tableau Ambassador 

0/9000

I created enhanced chat and created LWC chat button and added into community cloud. Here it is working fine. I need  a same button to in service console app. When I placed the same button in service console flex page, It is not working. Could you please help me out in this. Thank you 

 

#Embedded Service

1 answer
  1. Sushil Kumar (UKG) Forum Ambassador
    Dec 19, 2025, 2:34 AM
    In service console, you will need to expose messaging session object and Omni channel to receive the chats. Community component is not for internal use.
0/9000

I am trying to open a Messaging for In-App and Web chat programmatically, and I see that there may be some methods to do so, particularly embeddedservice_bootstrap.utilAPI methods such as:

embeddedservice_bootstrap.utilAPI.showChatButton()

The documentation shows what looks like a set up where the MIAW chat is added to a conventional website. However, I am trying to utilize these methods on an LWR site and have been unable to. Has anyone been able to pull this off? If so, how? I'm not sure what I am missing here.

 

#LWR

 

#Chat #Live Agent Web Chat #Embedded Service

5 answers
  1. Jul 2, 2024, 6:41 PM

    I found the answer for this:

     

    In order to open a MIAW chat button programmatically, in my case via a button placed elsewhere on the page, you will need to use a javascript event. To be clear, you will be using the event conventionally, not in the method described here which would be more helpful in communicating one LWC to another. The MIAW chat is not an LWC itself, but the prechat is, so that made it so that I had to use a conventional JS event.

     

    1. Go to your desired site and drop in the Embedded Messaging component with your MIAW chat that you want to use in the Experience Builder.

    2. In the left side main menu, click Settings > Advanced > Edit Head Markup.

    3. In the Head Markup editor, add a simple listener like so: 

    document.addEventListener('launchMIAWChat', function(e){	embeddedservice_bootstrap.utilAPI.launchChat();});

    4. Click Save.

    5. Create an LWC that holds the button you want to use to trigger the chat. 

    6. Make it so that button calls a method in the LWC JS file when clicked.

    7. Within the method that gets triggered on click, dispatch a JS event to the document object that has a value that matches the value your listener is listening for. Make sure to double check this since this is an easy area to make a mistake that keeps the whole thing from working:

    document.dispatchEvent(new CustomEvent("launchMIAWChat"));

    8. Save and deploy to the org.

    9. Add the button LWC to your page.

    10. You should now be able to click and have the chat open right up whether it is hidden or not.

0/9000

I have an embedded login app set up to allow customers to use their Community Credentials to log in to an externally hosted website. The user is able to log in successfully (as shown with Login History in Salesforce) however the embedded login just sits there with a greyed out Log In button. 

 

Even if a put a simple alert in to display onLogin, nothing shows. 

 

What am I missing? How do I tell the embedded login what to do after login because right now it seems like it just doesn't know what to do and just sits.

6 comments
  1. Jan 10, 2022, 12:53 PM

    Hi @Mark McClure   

    I am happy to see your post as I am facing the exact problem. The login button is getting greyed out and I am not able to call the "onLogin" javascript function. <meta name="salesforce-login-handler" content="onLogin"> I can also see the successfull login logs in Salesforce but in the external heroku app I am unable to call the onLogin function.   Could you please share how you fixed that problem? 

0/9000
1 answer
0/9000

I am trying to brand a channel menu and embedded service deployment within a Salesforce Experience Site. I have loaded a custom logo and branded the service deployment and before initiating a chat, everything looks dandy:

Why does my channel menu/embedded service deployment have two buttons?

Although, when a user initiates a chat, the logo turns to black (and not in the good Rolling Stones way):

Screen Shot 2021-10-28 at 12.17.43 PM.png

When I inspect the image, I learn that the image didn't turn to black, but a new black image appeared on top of the image I want. Additionally, the icon inside the new image isn't the one that I want. I found this out by removing all of its properties and making it look all weird:

Screen Shot 2021-10-28 at 12.15.25 PM.png

I have no idea how to get rid of it. I've messed with the branding in embedded service deployments, channel menu, chat, all to no avail. I have found nothing about it in documentation either. Also, trying to target the image or classes in the Experience Site CSS doesn't work, either (or I'm not doing it right). What I'd really like is this to appear when somebody engages the channel menu:

Screen Shot 2021-10-28 at 1.05.22 PM.png

Can anybody point me to where I might be able to adjust what's going on here?  Thank you much!

 

#Experience Cloud #Embedded Service #Omni Channel

3 answers
  1. Tom Bassett (Vera Solutions) Forum Ambassador
    Nov 4, 2021, 7:59 AM

    Hello,

    If you pop the Embedded Service Code on a new Visualforce Page you'd be able to determine what isn't working as expected here?

    It could either be Experience Cloud adding it's own styling or the Channel Menu may not have the correct properties.

    Are you able to try that to see what needs adjusting ?

    Thanks Tom

0/9000

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 working on a custom pre chat aura component, I need to pass some values to fields in LiveChatTranscript Record, or to the related case record ....I did try a lot of options but they don't work much, in community I easily did it in snippet settings, but how to do it here ?? #Service Cloud #Embedded Service  

2 answers
  1. Sep 6, 2021, 4:35 PM

    Hello, the main issue is I do not have access to make changes to the external website where this chat is hosted , I need some way to do it from the prechat form itself , if any other settings inside salesforce is possible

     

    The changes to the container page is not possible

0/9000

We have a community which has support of multilingual. For the language selection we are using salesforce Language Selector content component. 

 

For switching of the chat button basis on language we are using snap snippet settings directToButtonRouting function.

 

 Now the problem is how to get the selected language value in this snippet settings file to return the corresponding button. Can someone help me how to get the selected language value in snippet settings file.

 

https://developer.salesforce.com/docs/atlas.en-us.snapins_web_dev.meta/snapins_web_dev/snapins_web_snippet_settings_file.htm

 

https://developer.salesforce.com/docs/atlas.en-us.snapins_web_dev.meta/snapins_web_dev/snapins_web_directtobutton_routing.htm

 

#Service Cloud  #Integration #Embedded Service #Live Chat #Snap-in

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

    Hello,

     

    I've just tested this and you can only choose a different language using the language selector if you are a Guest User eg. a user that hasn't logged in.

     

    When you choose a lanugage this seems to be added to the URL of the site eg.

     

    /partner/s/?language=en_US /partner/s/?language=fr

     

    Are you able to use this Language from the URL to customise your labels etc.?  Thanks, Tom

0/9000