4

I want to have the photo of the live agent who has accepted to chat .His photo should appear on the chat window of visitor.

I tried using "Chat Window Branding Image", i think its good for displaying company logo no the live agents photograph

Any workarounds?

2 Answers 2

1

There are many different ways of implementing Live Agent. Without knowing what level of customization in your installation you already have, it could be difficult for someone to give you an answer. You might want to look at the following post to see if it answers your question: Liveagent: Possible to use Custom Chat Window without creating a Force.com Site?.

If it doesn't, the best i can do is refer you to the Live Agent Developer's Guide, the Live Agent REST API Developer’s Guide and the Service Cloud Workbook.

5
  • Thanks for your reply, unfortunately that doesnt help me, What i need is photo to be shown in the chat window of the live agent.. I tried using "Chat Window Branding Image" but it displays at top of the window which i think is good for displaying company logo ... Jun 26, 2014 at 14:15
  • Try searching using this search engine: findsf.info to see if anything comes up that might help you. Its salesforce specific. I only searched here on SF.SE.
    – crmprogdev
    Jun 26, 2014 at 15:10
  • now i have created the custom chat page with the help of code from live agent guide.It works fine same as standard chat window.I have to get the live agent name Jun 28, 2014 at 6:45
  • now i have created custom chat page using code from eveloper guide.I have to get the live agent name on the chat page .so far i have done this, public with sharing class liveagentclass { String AgentId; public liveagentclass (){ AgentId=Apexpages.currentpage().getparameters().get('id'); } public List<Live Agent Session> las {get;set;} } but it is giving me this following error"Error: Compile Error: expecting a right angle bracket, found 'Agent' at line 6 column 19".I am trying to get agent user name using soql query. Jun 28, 2014 at 6:51
  • You can debug your JavaScript yourself as described in How do I start to debug my own Visualforce/JavaScript?.
    – crmprogdev
    Jun 29, 2014 at 5:32
0

A tad bit late, but I have posted the solution here:

https://systemdebug.wordpress.com/2015/05/17/live-agent-rest-api-connectapi/

Basically, you need to use the getDetails method to get the user id, having that information you can retrieve the photo.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .