function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Akshay_AAkshay_A 

how to add data to a custom field in case object in live agent app when agent hits the save button?

Hi,

I have a custom field in the case object and Iam opening a new case tab as soon as the Live agent chat starts and now I want to insert some data (I have on the controller) in that custom field when agent saves the new case. Please tell me how can I achieve this.

Please dont suggest pre-chat as I dont have any data initially I am getting data in between a chat session from API

Any help will be appreciated, Thanks.
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Akshay,

May I suggest you please refer the below link for reference. I hope it will be helpful.

Please mark it as best answer if the information is informative.

Thanks
Rahul Kumar