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
Tejas KardileTejas Kardile 

Customisation of Snap In, Pre-chat form in salesforce lighitng community

Hello,

I am trying to implement new salesforce lighting snap live chat feature in saleforce lighitng community.

I wanted to override the standard pre-chat form with lightning component.

My requirement is to display few extra fields on prechat form and pass these fields to salesforce Agent.

I have gone through below link and implmented given lighitng component
https://developer.salesforce.com/docs/atlas.en-us.snapins_web_dev.meta/snapins_web_dev/snapins_web_lightning_components_prechat_sample_aura.htm

This code give us how to pass standard fieds to Agent but i am not sure how i can display and pass other extra fields to Agent using lighitng component.

Any help appriciated.

Thanks
SandhyaSandhya (Salesforce Developers) 
Hi,

You can refer below help article from salesforce.

https://help.salesforce.com/articleView?id=snapins_chat_customize_prechat_form.htm&type=5
 
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
                                             
Best Regards
Sandhya
 
 
Tejas KardileTejas Kardile
Hi,

I know this article. This article say below statment
"NOTE You can use the pre-chat APIs to send nonstandard pre-chat details along with what’s available in setup. For more information, see the Enhance the Pre-Chat Page in the Snap-Ins for Web Developer Guide."

But i dont find how to pass my extra details to agent using lighitng component.

Thanks,