I have a page where I know the Id of the case I want create a new chat session about. The desired goal is to have the case open for the agent and link the transcript to the existing case. I'm trying to use findOrCreate with Id, but it isn't working. I'm hoping I just got my syntax wrong.
liveagent.findOrCreate('Case').map('Id','5000U000000V1FGQA0',true,false,false).saveToTranscript('CaseId').showOnCreate(); liveagent.init("https://d.la2-c2cs-iad.salesforceliveagent.com/chat", "572A00000000000", "00D0U0000000000");