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
Rocio Soledad CaceresRocio Soledad Caceres 

Live agent: Issue with Snap-Ins code customization

Hello, 
I created a visualforce page called "TestChat". In this visualforce page,  I added the Snap-Ins code with customization.

The Snap-Ins guide (https://resources.docs.salesforce.com/214/latest/en-us/sfdc/pdf/snapins_web_dev_guide.pdf), indicates  in the section called "embedded_svc.settings.extraPrechatInfo", that when we don't want to create contact records, only find them instead , it is necessary to put "doCreate":false.

I typed the aforementioned tag "doCreate":false" in my Snap-Ins code but it doen's work. Because it always creates a contact record . 
Could you please help me to solve this issue?
Thanks for advance! 

Rocio
 
Bhavesh Jain 41Bhavesh Jain 41
hey @Rocio:
have you tried "doCreate":false
its mentioned in https://developer.salesforce.com/docs/atlas.en-us.218.0.snapins_web_dev.meta/snapins_web_dev/snapins_web_prechat_code_examples.htm