This question is a follow-on to my previous question: LiveAgent Chat with External ID
I am trying to pass in a Contact external ID from a non-Salesforce web page and use that to look up the Contact and display its name in the Live Agent window. Specifically, the Live Agent's chat window in Salesforce, not the client.
Contact record, maps the external ID, and initializes the chat. What is missing is "get the
Name field from the
Contact." I know I can use
liveagent.setName() to put a string in the Live Agent window, but I need help getting the name from the contact first so I can marshal that value into the next API call.