Salesforce Messaging for In-App and Web

Salesforce

Auto populate Pre-Chat Form Fields in Salesforce Messaging for In-App and Web

embeddedservice_bootstrap.prechatAPI.setVisiblePrechatFields() can be used to auto populate Pre-Chat Form Fields in Salesforce Messaging for In-App and Web. Sample Code: window.addEventListener("onEmbeddedMessagingReady", e => { embeddedservice_bootstrap.prechatAPI.setVisiblePrechatFields({ "_firstName": { "value": "Test", "isEditableByEndUser": false ....