You need to sign in to do that
Don't have an account?
Murugan Muniyan
Einstein chatbot - How to sync between community site and chatbot?
HI All,
We have implemented chatbot and that chatbot used into community site page.Community page automatically Sync with SSO.
Using Prechat form fields getting username and email based on SSO.
But my problem is that, donot want display prechat fields in chatbot window or else we want make it read only fields?
Any idea without using Prechat from fields to get the site username and Email values?
We have implemented chatbot and that chatbot used into community site page.Community page automatically Sync with SSO.
Using Prechat form fields getting username and email based on SSO.
But my problem is that, donot want display prechat fields in chatbot window or else we want make it read only fields?
Any idea without using Prechat from fields to get the site username and Email values?
There seems to be no direct way to achieve this requirement.
You cannot use 'readOnly' property over here, since property functionality isn't developed on backend.
Below is the link for your reference
https://developer.salesforce.com/docs/atlas.en-us.snapins_web_dev.meta/snapins_web_dev/snapins_web_prechat_details.htm
Alternate Solution : Create a custom component for PreChat in Embeded Service Deployment
However, there us a standard chat method to get details about the chat being generated in apex.
Please check out it on below link:
https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_getDetailsByChatKey.htm
It returns the details of the chat associated with a specific chat key.
Hope above information helps. Please mark as Best Answer so that it can help others in future.
Thanks.