You need to sign in to do that
Don't have an account?
Muhammad Hammad 8
Live Agent Query Pre Chat Custom Details
I'm currently using the pre chat form from the documentation
https://developer.salesforce.com/docs/atlas.en-us.live_agent_dev.meta/live_agent_dev/live_agent_pre_chat_forms_code_sample.htm
How can I query the Custom Details such as Name, Case Id, Subject before accepting the case in Apex. Case Id is available in apex only after accepting the chat request.
Also found this but could not understand it.
https://help.salesforce.com/s/articleView?id=000328817&type=1
https://developer.salesforce.com/docs/atlas.en-us.live_agent_dev.meta/live_agent_dev/live_agent_pre_chat_forms_code_sample.htm
How can I query the Custom Details such as Name, Case Id, Subject before accepting the case in Apex. Case Id is available in apex only after accepting the chat request.
Also found this but could not understand it.
https://help.salesforce.com/s/articleView?id=000328817&type=1
Does https://salesforce.stackexchange.com/questions/163458/save-live-agent-prechat-field-to-beginning-of-chat-log help?