• Pauliina Leino
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
We're implementing a Salesforce LiveAgent chat and we would liketo have chat to appear in the bottom right corner of the page, in a layer, not a popup. My question is: is this even possible?

We have succeeded in plucking out the content of the chat popup and sticking it in an iframe which I position at the bottom of the page. However, upon reloading/navigating, the chat naturally needs to be re-opened and restarted by the visitor and the previous chat session is lost. This is not desired.

We have tried to get a session ID from the liveagent API, but that's not possible with an AJAX call since the API seems to be cross-domain protected for some reason (Ww can't send the headers the API needs). Luckily, one of our backend guys succeeded in getting a session ID via CURL. This is only step 1, however, as now I need to persist the ID of an ongoing chat and automatically reconnect to the same session when the user navigates.

So if it is possible to use LiveAgent chat in the way I have described it, how do I actually do it?
We're implementing a Salesforce LiveAgent chat and we would liketo have chat to appear in the bottom right corner of the page, in a layer, not a popup. My question is: is this even possible?

We have succeeded in plucking out the content of the chat popup and sticking it in an iframe which I position at the bottom of the page. However, upon reloading/navigating, the chat naturally needs to be re-opened and restarted by the visitor and the previous chat session is lost. This is not desired.

We have tried to get a session ID from the liveagent API, but that's not possible with an AJAX call since the API seems to be cross-domain protected for some reason (Ww can't send the headers the API needs). Luckily, one of our backend guys succeeded in getting a session ID via CURL. This is only step 1, however, as now I need to persist the ID of an ongoing chat and automatically reconnect to the same session when the user navigates.

So if it is possible to use LiveAgent chat in the way I have described it, how do I actually do it?